Muslim-majority countries are very different from one another: some are wealthy and some are poor, some are stable and some have been devastated by war. Economists and historians point to many causes for the condition of any country, such as colonial history, bad governance and corruption, conflict, inequality and weak education, and no one cause explains them all. It would also be unfair to take the worst news from a few places as a verdict on all Muslims or on their religion.
Islam does not claim that Muslims are better than others by being Muslim, nor that its followers always succeed. The Quran says that Allah does not change a people's condition until they change what is in themselves, and that Allah commands justice and kindness and forbids wickedness. The Prophet ﷺ defined religion as sincerity or sincere advice: to Allah, His book, His messenger, the leaders of the Muslims and their common people. By that standard, Muslims have much to improve: justice, education, the treatment of women and minorities in many places, honest government, and the pursuit of knowledge. Many Muslim thinkers say this themselves.
History shows that when Muslims valued knowledge, trade and justice, their civilisation was one of the leading ones in the world, as the question on the Golden Age explains. The right way to evaluate Islam is therefore to look at its sources and at the best of its followers, and to compare ideals with ideals, not one side's ideals with another's practice. Every community has failed to live up to its own teachings. If you want to judge Islam, read the Quran and learn about the Prophet ﷺ, then ask if the message is true.