How much time you got?
In inflationary times with heavy trade imbalances where money value is highly volatile, commodities are king and Russia is king of commodities.
Outside of the west, no one is doing sanctions against Russia. So while across the whole word money is getting less valuable, their commodities increase and can easily be sold to non western states. The sanctions are directly tied to the price increase of those commodities and Russia can just sell them somewhere else. So the sanctions are directly responsible for making sure Russia gets more money for their Oil, Gas, Potash and other stuff. Oh and the West is still buying the stuff, too.
Making money is always good. Bad for the West of course, because they want the war to end, but as always with the "smart west" they fuck up and do stuff having the opposite effect of the desired outcome. (Like printing trillions so the market doesn't crash during corona - yeah it will just crash 2 years later when inflation kicks in and supply / demand imbalance shifts in the opposite direction).
The sanctions directly fund Russia's war chest.
Them is the Russian people. Sure the government and not ordinary people gets this money, but at the end of the day, a country, state or government is just their people.
And of course it sucks they waste money a a stupid war, but at the end of the day it might even be a net positive for Russia if you don't look at loss of life, on a personal level. On a macro level, loss of life is even mostly positive unless you get to a point of bad imbalance. Russia has a big demographics issue, so their loss of life might not be good. Or so loss of life gets so high, it might reverse the fertility rate and gets postive again.