Russia enjoyed a brief surplus with high gas prices. It has collapsed and the government is now running a towards a hefty deficit. About 90% gone in just two months. Government spending is being cut down by 10% next year, while a greater share is allocated to the military, meaning actual useful domestic spending is going to go down even more. The sanctions are having a strong effect.
The military spending is cushioned by the fact that they had so much shit lying around to throw into the fire, but this will continue to grow worse over time.
Contrary to popular belief, Russia cannot simply switch selling gas from europe to china either. The pipeline infrastructure does not exist to turn it into LNG and ship it in comparable quantities.
https://www.cnn.com/2022/09/15/economy/russia-economy-budget...