The Swiss attitude is that many countries, including the u.s., are corrupt with corrupt governments and it is your responsibility to put your money someplace safe and out of hands of that corruption.
They provided a place for the jews in nazi germany to move their money outside of germany. But if I was Jewish and in Nazi Germany I would have done the same, as my Catholic great-grandparents did by moving their money from Germany to Switzerland when the Nazis came to power.
It's unfortunate that most of their Jewish customers were killed by the Nazis. They also accepted deposits from the Nazis, but I can understand their attitude of not taking sides. In the end you want a neutral party like that, no matter what side you're on.
Much of the money being "protected from corrupt government" was obtained through corrupt activity.