Although we may think of Middle Eastern countries as being oil-rich, that description doesn't always apply. The country of Jordan, for example, has typically imported 96% of its energy from neighboring countries.
But Jordan has plenty of sun, and the government is committed to investing heavily in renewable energy.