Adding on to what the others are saying, I would like to emphasise that western military strategists had also predicted that NATO expansion would cause a disastrous outcome, and they predicted it many years in advance of NATO actually expanding into Ukraine.
Literally, read this article published in 1997 by George kennan in the NYT.
Literally 25 years before the war it was predicted that NATO expansion could be America's worst foreign policy mistake in the post-cold war era.