The only reason Ukraine joining NATO is a problem is if Putin/Russia (or someone else) wants to attack them.
I know there's a real risk of peaceful trade, mutual alliance, humanity, and democracy from breaking out in such circumstances but somehow I think the risk might be worth it for the billions of us who aren't completely fucked up megalomaniacs.
I mean, that's objectively not true since Libya, who attacked no one, but had a NATO bombing campaign to assist their civil war.
NATO is no longer a purely defensive pact.
If your inference is true then Ukraine's membership would be entirely orthogonal to any intervention NATO took to prevent Putin from committing genocide against his own people.
If NATO would come to Ukraine's aid anyway, then again their membership doesn't matter.
All NATO membership adds is a promise of defence.
But they are not. We can thus look at the people who make decisions, but not at the countries themselves. So, it’s most likely not about joining NATO, but about European integration and economic growth.