The war between Russia and Ukraine happened so suddenly even Ukraine did not believe that Russia would attack them, so no government could predict what would happen so and no government could prepare. Second: what we are experiencing as a result of the covid pandemic, the government should have a part to play in this but should not put all the blame on them. There will be no way to recover the economy quickly when the war is still going on, and China's economy is closed, causing supply and demand chaos. No matter how good the government is, it can't solve everything alone, our world is interconnected.
Indeed, in Ukraine, even many officials in power did not believe that the Putin regime in Russia was capable of launching a full-scale military invasion. However, the Armed Forces of Ukraine were ready for such a scenario of events and, on the eve of the invasion, secretly withdrew aviation, air defense and artillery from their bases, so the massive Russian attack on their reconnoitered positions in the first days of the invasion did not give the effect that the invaders were counting on. Despite the fact that Russia has repeatedly stated that in the first days of the attack, Ukrainian aviation and air defense were completely defeated, it was they who played a significant role in the fact that after a month of hostilities, Russia hastily withdrew its half-broken armies from the central and northern regions Ukraine, which were under the threat of complete annihilation. And this was at a time when no one had yet given serious weapons to Ukraine, because according to their forecasts, Ukraine had to hold out against Russia for no more than one week.
The war that Russia unleashed in the center of Europe in the 21st century disrupted many trade and economic processes, and therefore the world economy suffered greatly from this. The current economic decline is a direct result of the Kremlin's military adventure. That is why civilized countries have decided to help Ukraine win this war.