How the naturally wealthiest country in the world threw it all away.