This maxim has played out once again amid the crisis in Ukraine. Faced with the most dangerous confrontation between Russia and US-led Western powers since the end of the cold war, China must avoid angering an ally as well as harming ties with the world's leading superpower.
Russia and China have been allies in the United Nations, acting as a counterweight to the West's domination of global affairs over the past decade. China was the only member nation on the Security Council to abstain from a resolution to condemn Russia for its actions in Crimea. But analysts say Beijing's support for Moscow faces limits.
There is also a practical reason for Beijing to refrain from endorsing Russia's military invasion: it might give foreign powers an excuse to intervene in China's own territories in the future.
China heading off cold war through economic diplomacy
Beijing maintains a strong grip on its far-flung, ethnically diverse Xinjiang and Tibet regions. And the 2005 Anti-Secession Law permits the use of military force against Taiwan, should it declare independence through a referendum or some other official mechanism.
Sharing more than 4,000 kilometres of border with Russia, China is also worried about the risk of a wider Russian incursion as nationalistic leader Vladimir Putin pokes at Western weakness and tries to restore Moscow's influence over its old Soviet empire.
Some Chinese strategists see Putin's Crimea incursion as challenging Beijing's growing interest in the region. Over the past five years, China has replaced Russia as the dominant foreign presence in Central Asia, through energy deals, extensive oil and gas pipelines, and foreign investment.
In surprise move, US warns China not to attempt Russian Crimea-style action in Asia
China is the largest trading partner of Turkmenistan and Kazakhstan, and the second-largest partner of Uzbekistan and Kyrgyzstan. With its huge stake, China has an interest in keeping regional peace so it can explore further investment and trade opportunities, and secure a stable supply of energy.
The question of where China will stand in the end has become central to the Ukraine crisis. When the crisis hit, US President Barack Obama, German Chancellor Angela Merkel and Putin scrambled to reach out to President Xi Jinping.
But Beijing's best strategy is to maintain the status quo in Kiev. Ukraine joining the European Union will not serve China's interests. China's first aircraft carrier, the Liaoning, was made in Ukraine. In addition, Ukrainian companies help maintain the engines of Chinese fighter jets. If Ukraine is recruited into the EU and Nato, it will then be required to follow the groups' arms embargo against China.
Share the News