North Korean leader Kim Jong-un spent the war in Ukraine drawing closer to Moscow. This week, Beijing rolled out the red carpet anyway. Chinese President Xi Jinping welcomed Kim at the Great Hall of the People in Beijing on Tuesday, then hosted him and his wife at a state banquet after their talks. Kim was the first North Korean leader to make a state visit to China since his grandfather Kim Il-sung did so in 1982. It was Kim’s seventh trip to China since he took power in 2011. Kim used the occasion to call relations with China his country’s top foreign policy priority. The visit showed how he is cultivating two relationships that serve different needs. Russia provides military backing, while China offers trade, infrastructure cooperation and political support. “Security with Russia, the economy with China,” Yang Moo-jin, a chair professor at the University of North Korean Studies, said in describing Kim’s approach. Maintaining both relationships, Yang said, could give Pyongyang more leverage if it returns to talks with Washington. North Korea has supplied weapons to Russia and