If you're goal is to get someone to "admit" that a software engineer can get paid more in San Francisco than Switzerland, I guess you've won your argument. You can still tell yourself America is the Best Country in the World™.
But as the article indicates, the net worth of the average Swiss is twice that of the average American. The Swiss have found a way to leverage a higher tax rate to less out of pocket cost for their citizens. So you get 20000$ more bucks a year as an American, and then you go ahead and spend it on health insurance or driving a car everywhere.
Net income is a better measure than net worth, and net income is higher in the US than in Switzerland -- both in absolute terms and relative to the respective cost of living.
Why is net income a better measure? Well, for one thing, if a country's economy is in danger of imploding and people can guess that that is so, they'll start saving more money. Living from paycheck to paycheck is irrational in any country, but it is less irrational the stabler the government and the economy of your country.
Lack of stability or more precisely the perception thereof is part of the reason personal savings rates are higher in China than in the US for example.
If I wasn't confident in my currency, why would I save in it? The collapse of my government destroys my investment at the same time.
A doctor generally makes more in the US than, say, Norway. The Norwegian doctor, however, doesn't necessarily have a school loan since tuition isn't charged. If they live in a city, they don't need a vehicle, to pay health insurance, and their children's health care is free. The doctor gets maternity leave and they get paid sick leave if needed.
They probably pay a bit more tax, but it isn't crushing.
The entire life cost structure is simply different - without including some of these quality of life things in with the costs, it isn't a fair comparison.