Despite its rising power, China should resist the temptation to become militarily involved in the Middle East.