There is a huge qualitative difference between an economy built on natural resource extraction, where the populace is a cost center, and an economy built on productive labor by the population, where increasing capabilities of the society leads to more wealth.
FORBES: Why Have The Islamic Countries Failed To Develop Even With Resources Like Oil, While Countries With No Resources Like Switzerland Have Flourished?