Why is the Muslim Majority So Poor?

Islam greatly encourages giving money to the poor, and Zakah is a pillar of Islam. Charity is mentioned in the Quran and in the Sunnah. So why is it that many Muslim countries have a rich elite minority, but the majority of people are very poor?