It was never about NATO and always about the reconquest of Ukraine. You can read their victory speech here [0]. Russia thought they would win easily and accidentally posted their victory speech too soon.
[0]: https://web.archive.org/web/20220226224717/https://ria.ru/20...