Primarily, the first reason why the Muslim Community, as a whole, not only those in just the Muslim Countries, are in a miserable condition is that they have unbridled breeding.
Incidentally, this was also true of the Roman Catholic Community, but then, they changed and adapted to the times and are faring much better now.
That being said, the Muslims have unwieldy large families and the division of wealth soon makes most of them impoverished. Because of the poverty, the Muslims are mostly uneducated or undereducated and land up doing unskilled work like being janitors, cab drivers, bus boys, waiters, butchers and the like.
Now, the Country that has hordes of janitors, cab drivers and unskilled people cannot progress without outside help. That is why the Oil Rich Saudi Arabia, Kuwait etc are full of non-Muslim foreigners who outnumber the local Muslims and it is they who run the Economy. In case you haven't noticed, Muslims blame everyone else, but themselves, for their predicament and the Rulers of these Countries come under attack by the Muslims who feel frustrated that they are lower class in their own lands. The Fundamentalists use this to create discord because they want to grab the Wealth and use it for their Jihad. This is already happening in all those Countries.
Wherever the Muslims are, their growing slums are a testament to their Religion creating the misery they live in.There can be no Peace and Happiness where the Muslims are. Only frustration and violence and crime follow wherever the Muslims go.
Islam is an insanity that the Muslims need to leave to be able to get into the mainstream and that will never happen. Therefore, you can only hope for the Final Conflict which is now soon coming, when Islam and the Muslims will be exterminated. Pity is, like it or not, that's what's going to happen.
.