That’s my understanding, if I made a mistake please correct me.
Yes food costs more, so does clothing etc. But taxes aren’t suuuper high in my opinion (around 20-30% with health insurance paid separately), VAT is 7.7%, and you can get anywhere by train for quite cheap (super saver tickets let you go across Switzerland for 20 francs, if you plan a bit ahead).
The caveat is that unless you have an EU passport or marry a Swiss, it’s almost impossible to get a work visa. And if you’re a US citizen, there is no bank that will want to take you as a customer.
Banks are a big employer but there are also insurance companies. I’m joking, these two are big but there are startups as well, consultancies, big entreprise type of jobs, etc.