NATO was created on April 4th, 1949.
The Soviet Union existed from the years of 1922-1991. Their growth occurred between 1922 until 1940.
It was agreed upon by the Allies that the Soviet Union would control east Germany. No expansion of the Soviet Union, other than east Germany during the tensions arising from the Cold War, occurred in 1949. That was the trigger that created NATO. So, for 42 years NATO had a role to play, and it was successful.
However, when the Soviet Union dissolved due to monetary insolvency, the need for NATO really ceased to be relevant. Its relevance was only kept alive by dishonest claims that Russia itself was now the problem, since the Soviet Union no longer existed.
Putin offered for Russia to become a part of NATO and remove the threats of regeneration of the Soviet Union. That offer was rejected. Now we have pushed Russia together with China.
One major mistake of epic proportions.
If you are going to argue on a topic, I suggest that you at least read up on the subject.