It is true that in particular oil is providing a huge income right now to Russia. However, income from oil is not the whole picture. This article adds a lot of nuance to the picture you are presenting, and is predicting "a full-blown disaster" for the Russian economy in 2024/25: Russian economy after six months of war – Riddle RussiaMoscow is raking in more revenue than ever with the help of new buyers, new traders and the world’s seemingly insatiable demand for crude. “Nobody’s brave enough to embargo 7.5 million barrels a day of Russian oil and oil products.”www.wsj.com
Most of the article under pay wall. However there's recording summary can be access. This article shown increasingly what many in the matket already predict. This trade war will cost both sides significantly, however market will adjust and market reallignment will happen.
Increasingly what Biden and EU leadership call of their (collective west) isolation drive to Russia as "International/Global" isolation, shown as "illusion". Russia energy resources just simply too big to ignore by much Global market. It is even remain to be seen if Collective West and their "close" allies can also really decoupling from Russian resources in near future (in the span of next three to five years), as many their politicians call.
The drive for alternative 'green' energy is the thing that many Collective West politicians put as way to cut Russia dependency. Something that many in market clearly 'doubtfull' whether collective west have enough resourcess to conduct massive investment on that area within this decade.
If "prosperous" collective west is being doubt able to conduct significant increase on massive investment to green energy (to cut dependencies to hydrocarbon) much earlier then plan, how about the rest of the world ? This is the question that shown global dependencies to hydrocarbon for next two decades will still be high, regardless those 'green' initiative political drive. Economics cost realities is is still the huge barrier to do that.
Until then the rich hydrocarbon resources owner that's include Russia (and the oil companies) still have time to gain significant margin from hydrocarbon. That's market realities and not political illusion.
As for the shift to green energy: hopefully the war in Ukraine will accelerate this process. The problem with today's hydrocarbon based economy is that the long term costs of burning coal, oil, and gas have not been included. Had they been, suddenly nuclear, wind, and solar would become extremely attractive and much cheaper than hydrocarbons. The way to include those costs could be to add "CO2 tax" that reflects the future costs of climate exchange, which are enormous:
Climate Change Could Cut World Economy by $23 Trillion in 2050, Insurance Giant Warns (Published 2021)
Poor nations would be particularly hard hit, but few would escape, Swiss Re said. The findings could influence how the industry prices insurance and invests its mammoth portfolios.
Economic models of climate change may have substantially underestimated the costs of continued warming, according to a new study involving UCL researchers.
We already see that if anything, most accepted climate change models are on the conservative side. Melting of Greenland ice will, even if we stop all greenhouse emissions today, increase average sea levels by at least 30cm by 2100 -- add to that melting of glaciers worldwide, and add also the fact that greenhouse emissions will not stop, and the future looks indeed very bleak. Greenland ice loss will raise sea levels by nearly one foot by 2100, study shows