I am afraid I cannot agree with this point of view.
China has consistently pursued an independent foreign policy. Frankly speaking, at a fundamental level, China does not place its trust in any allies. In Chinese culture, an "ally" is merely a tactical tool rather than a strategic imperative. If one were to identify a true ally, the Chinese government’s only ally is the People's Liberation Army (PLA).
Regarding disputes involving neighboring countries, China’s stance is that its own interests must not be compromised. Here, it is essential to analyze the relationships between India and Pakistan, China and India, and China and Pakistan separately, rather than conflating them. Conflating these relationships would lead to serious misjudgments on many issues.
As for China’s relations with North Korea and Russia, your assessment is even more wide of the mark.
From a military-strategic perspective, Russia is China’s greatest "potential adversary." Due to factors such as diplomatic realities and economic ties, the current relationship between China and Russia appears very friendly on the surface. This leads many to mistakenly believe that the two nations are "allies." I can only say that such a judgment is extremely naive.
Regarding North Korea: because China’s previous generation of leaders signed the country's only military alliance treaty with North Korea, modern China is bound to honor that agreement based on the fundamental principle of keeping one's word. In reality, however, this issue is highly controversial within China itself. Consequently, official Chinese bodies handle the matter with great caution. While official rhetoric continues to emphasize the relationship, the actual day-to-day ties between the two sides are quite ordinary.