Compared with which location?
My experience is that you're way better off in Zurich than, say, London where you'll end up having similar costs. https://livingcost.org/cost/london/zurich illustrates that. Zurich seems similar to San Jose: https://livingcost.org/cost/san-jose-us/zurich.
Prices in most supermarkets are high, but I've come to understand this as most consumers being price-indifferent for groceries, at least in Zurich, because it represents little of their overall costs anyway. If you want to save on groceries, Lidl is way cheaper than Coop/Migros, but many consumers prefer convenience. That's not even including the case of people living in Basel / Geneva who buy groceries in Germany / France such that Swiss prices don't matter to them.