The answer is that the discovery of oil made some Middle Eastern nations wealthy.
Prior to 1950, Middle Eastern nations exhibited some of the lowest levels of socioeconomic development. However, with the discovery of the vast oil reserves, transformed, the Middle East region economically, politically and socially.