The idea that NATO's expansion east is what pushed Russia to invade Ukraine is frankly ridiculous. I can see how it's problematic for them, and they did bring it up before the invasion, but that was mainly more lies, the war had already been planned and decided months ago.
Putin has said that Ukraine is a historical mistake, and laments the dissolution of the Soviet union. This war is because he want's to create a larger Russian empire, not a preemptive strike for self defense.