If Islam is great then why are islamic countries in a shithole?

I live in Turkey.

My parents, my cousins, relatives, neighbours. Every one of them says that islam is great, but muslims are not.

If they were real muslims, we would be the:

Richest, most productive, most civilized, most developed when it comes to tech and science and philosophy.

LOL. Then why all 57 muslim countries are living in a shit hole?

If Islam is great then why are islamic countries in a shithole?
Post Opinion