This is not what is argued. I agree with you, it's of course up to NATO and EU to decide who they accept as members, and they may include Russian interests in the decision if they want.
Point is that Russia has no say over Ukraine's ambitions. The war started because Ukraine wanted away from Russia and moved towards Western values. This is unquestionably Ukraine's right. And if they don't succeed at joining the EU, then their place may be a non-aligned country with Western values and ambitions. That Russia must simply accept and move on.