Geopolitics is not a game of morality, rather it's a game of logic. China, the US, and Russia seem to be playing very well. This is also one reason why India is not saying anything against them. The only victim I see is Europe.
With what pipeline ?
Here's a paper on their effectiveness if you don't believe me, Europe has more than just gas to power its economy - unlike Russia: https://www.jois.eu/files/2_481_Tyll%20et%20al.pdf
There's literally nothing here for Russia to win, the west is rapidly moving away from fossil fuels and this will accelerate that. China may scoop up excess gas but it will be significantly less profitable for Russia.
Here's what Russia will be dealing with:
* Russians own significant assets in the west. These assets are vulnerable to seizure. These assets are held by the ultra wealthy Russians that keep Putin in power.
* The war is already unpopular in Russia. It's one thing to fight a war against a foreign enemy and another to fight a war against people who share common values and culture. 20k Russians showing up home in body bags will not help.
* Ukraine is in a significantly better place to defend itself.
There is no win here for Putin, only suffering the Russian people. At some point, a Russian version of the Arab spring is a possible outcome.
Russia needs China more than China needs Russia.