For years developing countries have been thrice blessed. First, near-zero interest rates in the U.S. drove investors into bourses from Mumbai to Mexico as they searched for higher returns. Next, China emerged as the trading partner of choice as it gobbled up Indonesian palm oil, Cambodian hardwoods, and Brazilian iron ore. Finally, with the exception of the Middle East, the politics of most emerging-market countries were stable. The blessings have run out.