It’s the opposite actually. Everyone got the Ukraine memo. If you don’t have nukes or modern weaponry, another country can and will invade.
The success of the modern weapons Ukraine have been receiving is also proof that in case of invasion you want these weapons immediately deployable, not delayed until your aggressor has laid minefields and trenches across your territory, and not with strings attached wherein you can’t actually hit your aggressors territory.