Arming "future enemey" is a common practice in politics. All major powers did that sot of things. China armed North Vietnam in Vietnam War and they turned against China with Chinese weapons and supplies right after the war. North Korea could be the same case. The North Korean border guards are very hostile to Chinese tourists. The same thing happened to the Khmer Rouge. Four Chinese soldiers of the UN peacekeeping forces were killed by the Khmer Rouge in 1992 after China stopped supporting them. The USSR supported the CCP in the civil war against the KMT, but Mao turned against them 10 years after liberation.
Mao was a liberator?