I would say even thrived
Finland has to keep one of the largest militaries on Earth solely due to their proximity with Russia, and they barely fended them off in the 1940s. Ukraine was the last straw, and they decided to join NATO. Switzerland??? Are you fucking high? Go look at a fucking map and see where Switzerland is, holy shit. Austria is once again fully enclosed by NATO countries except a small border with Switzerland to the west.
I’m not even addressing the rest of the comment; citing Switzerland alone was too stupid for your worthless, propagandist drivel to be worth my time.
Usually countries have to decide between butter and guns (eco 101). Well, such “largest militaries on Earth” had it both! Like Switzerland, you do have to keep a strong military to dissuade, but aligning to a alliance when you are the spearhead is bad. Switzerland had made an alliance with France or Germany a century ago, would not have ended non invaded, 100% guaranteed.