If you take a good SWE salary in Munich (example 80k), and compare it to an average/solid software shop in the states that gives 200k. Expenses can comparatively quadruple and you will still have much more at the end of the month to do with as you please. You can live in so many places in the states where this salary is realistic. But only a handful of places in Europe even have salaries that could come close as a concept. Switzerland that could get you there has even higher expenses and even there only FAANG offers such salaries.
And outside of software, doctors in the states make many multiples compared to European ones. Most blue collar workers make multiples, lawyers make multiples, pretty much any job you take you can make much more. I agree that life is better in Europe and I'd choose to live here 9/10 times, but that's down to mentality and the fact there's a reason we're less productive than you.