Lebanon's economy has struggled for years as people's discontent with the government grew.