To be honest during WWII, Switzerland was surrounded by the Nazis. Literally. On all sides, and learned a harsh lesson on not just the importance of military readiness but also economic resilience. So they took what they could get.
Plus: they are the only(!) country on earth who could offer bunker protection to 95%+ of society in case of war.
Even if you only considered the guns, your claim seems to be false: https://en.wikipedia.org/wiki/Estimated_number_of_civilian_g...
>Finland has civil defence shelters for about 4.8 million people [population 5.7 million]
https://valtioneuvosto.fi/en/-/1410869/finland-has-civil-def...