NATO was formed to defend against Russia. All letting Russia join NATO would do is make it very confusing for NATO to respond if Russia attacked another member. It's already been pushed to its limit by the war in Syria. Russia joining NATO would probably result in the agreement disintegrating entirely.
Yes, the one bordering Russia, that was contemplating joining an organization which aims missiles at Russia. This doesn't excuse the invasion but your reasoning is self-defeating.