Today is March 9th. Today, the United States has decided to ban the purchase of hydrocarbons in Russia. The EU is phasing out Russian oil and gas, and have made strategic decisions to phase out this "supplier" entirely. Sanctions block deliveries of hydrocarbons from Russia to key markets. The financial system is at its peak. Western companies have left the market. Production stops. Fierce inflation is gaining momentum ... This is only 14 days from the start of the war, and 10 days from the start of sanctions. What do you think - what will happen by the summer of 2022?
These issues are just temporary. I have repeated this many times - as long as the oil and gas prices remain high, Russia doesn't have anything to worry. Hydrocarbon consumption is going up around the world, and in case the western nations refuse to purchase Russian commodities then they will flow in to China and India (at a discount obviously). Anyway, Putin doesn't care much about the suffering of his own people, and most of the oil revenues will go towards the defense budget (for possible future invasions of Kazakhstan, Baltics and Georgia).
Let's take a closer look at your statement, shall we? Yes, on the one hand, a superficial assessment - the higher the price of oil / gas, the more money Russia will receive. It seems that everything is logical, it is valuable upwards, Russia receives more income as one of the key market players. But you either do not know or deliberately "forget" some short facts:
1. Oil brand "Urals" is now trying to sell at a high discount, up to 30 dollars per barrel. Why ? Because many buyers have simply abandoned it and are buying more expensive oil from other suppliers.
2. A ban has been introduced on the purchase of Russian oil by many countries. Yes, they are ready for rising prices for oil and its products. And now negotiations are underway with other supplier countries.
3. It is highly likely that the American continent will receive oil from Venezuela (negotiations are underway, and there is a high probability that a compromise will be found)
4. Asian oil is going to Europe.
Bottom line: in the very short term, yes, Russia will still receive some benefit from oil products. In the next and long term - a global decrease in supplies to markets that pay currency. Oil will most likely be bought cheaply by China, for yuan. At the price set by China.