Per the first NATO Secretary General, Lord Hastings Ismay, the purpose of NATO was “to keep the Russians out, the Americans in, and the Germans down.” At the time of Stalinist Soviet Communism, this was a good idea. None of these are particularly relevant today, and the reason the alliance is in disarray is that it no longer serves a useful purpose.
All the more reason for leaving.