In 2008 Germany and France rejected Georgia and Ukraine request to join NATO,
They did that as that was supposedly a provocation for Putin.
Putin invaded Georgia a few weeks later and Ukraine 6 years later.
If they had joined NATO, then Putin would nit have invaded
You conveniently skipped the whole 2014 Maidan Coup and subsequent war on the Donbas, the "Right Sektor" beneficiaries of which then promised to fast-track entry into NATO.
George Kennan, the intellectual father of America’s containment policy during the Cold War, perceptively warned in a May 2, 1998 New York Times interview about what the Senate’s ratification of NATO’s first round of expansion would set in motion. ”I think it is the beginning of a new cold war,” Kennan stated. ”I think the Russians will gradually react quite adversely and it will affect their policies. I think it is a tragic mistake. There was no reason for this whatsoever. No one was threatening anybody else.”
George F. Kennan called the expansion of NATO into Central Europe “the most fateful error of American policy in the entire post-Cold War era.”