It is. But this is a straw man. It’s always been. Ukraine hasn’t been seriously considered for NATO membership since 2008. Even its path to the EU was muddled at best.
Some effects of the war, e.g. Ukraine being flooded with Western weapons where it wasn’t before or Germany pivoting away from Russia, were unpredictable. But some, like the response in Finland and Sweden, or the Baltics’ remilitarisation, were.
Ukraine was and is falling under the control of the Ukrainians, and that remains the problem for Putin—not Russia.