It definitely explains why so many “Islamic states” like Afghanistan have failed whereas non-Islamic states such as Singapore have succeeded, due to the will of Allah.

"And Allah does not change the condition of a people until they change themselves. (Quran 13:11)