China has, and will always do what they see as best for themselves.
A country that happily sacrificed millions of its own people to become an industrial super power won’t give a damn about millions dying in Ukraine or elsewhere.
Not unless caring is advantageous for some reason- though making Russia a client state, like most of the global south… is one thing they’re hoping for.
They’re also hoping for an excuse to invade and “unify” Taiwan.