How has oil benefited some Middle Eastern countries?

Much of the oil in the world is in the Middle East. Oil is a very profitable commodity and has made some of these countries huge amounts of money.