Those countries which had been invaded by Russia in the past learned from those experiences and joined NATO in an effort to avoid repeating history.
Well, lets not forget that one of the countries in NATO invaded Russia, and it was through a another country that’s in NATO.
Not defending Russia’s aggression, just noting that there are historical backdrops we need to be mindful of. Looking at things from one way is never the best way to deal with situations or come up with constructive solutions to problems.