It kept out of wars because it is a direct democracy.
People almost never vote in favor of war.
People almost never vote in favor of war.
IIRC they even shot down german war planes that entered their airspace and suffered no retaliation.
So yeah, they do have a knack for maintaining their neutrality.