What was the actual cause of Switzerlands wealth?

Letting the world’s scumbags put their money in offshore accounts and promising they’d be safe and untaxable

Personally I think Switzerland has some explaining to do