C’mon. Your info is a bit outdated. Avarage Russian is making some $16,000 annually following a CIA factbook while China has some 800 million people who has never hold as much as a $100 at their hands at once.
At the same time heating&water&electricity cost some $150 monthly to a Russian household which is usually a condo and half that price if you own a house. Property tax is some $70 annually for a condo of $300,000 value. Car insurance is $100-400 annually and so on.
Russian government do has a lot of cash and shorter costs too. They are debt free and a creditor nation just like China.
Considering the fact their MIC is a huge part of Russian economy with one in five industry jobs there they don’t have a military production overpriced as much as it is in US. They are certainly able to afford that stuff.
I think your CIA data is outdated. I thought just like you, Russia is better off then Communism. But their society ended up as an oligarchy where top 10 percent hold most of the wealth and the bottom 90 live paycheck to paycheck. People who do banking in Russia point out only 10 percent have bank accounts because they make enough to do so and use it to buy luxury goods. The rest of the Russians are broke. Granted on a macroeconomic level Russia has a surplus from trade, and plenty of resources to sell to raise money.