I'm asking seriously: do you really believe that if Ukraine ever joined NATO (which is dubious as they already requested in 2008 but their request was denied), it would actually attack Russia?
The question is whether NATO would attack Russia through Ukraine. And if you don’t think that’s absolutely possible you need to read history books. I think it’s actually very possible it will happen within the next few years, in fact, given the rhetoric coming from the UK, Baltic states and some other EU countries.
So explain why the countries neighboring Russia are building all possible border fortifications, spending large sums of money for something that would make any invasion much more difficult.