That only applies if you are a US citizen or permanent resident. For others, it is very inconvenient to have their income tied to a foreign country and/or foreign exchange rates.
For me in Turkey: Having my tied to a foreign country is kind of inconvenient (paying fees and having to wait for a swift transfer). Having it tied to an exchange rate has benefits that far outweigh the inconveniences of the transfer (With the way exchange rates have been going for the last few years, it feels more like* you get automatic raises throughout the year tied to inflation in addition to your yearly raise)
* I know it is not that, but it feels like that.
Also thankfully not tied to the officially reported inflation rate in Turkey
You would be surprised how common is is then, especially in areas of Europe surrounding non EU countries where international daily commutes are not uncommon, not to mention remote working.
I work for an engineering company in Switzerland, and half my team are German citizens who (pre-covid) made a daily commute all while enjoying the lower cost of living in Germany.
The USD has been one of the best performing currencies in the world in most people's lifetimes. I'm sure that most people would prefer to be paid in that currency.
For every Swiss Franc that strengthened 15% against the dollar in 10 years there's an Argentine Peso that because 45 times weaker in that time period.
Not sure how the long term exchange rate movements are relevant for most people who take a paycheck, spend a great deal of it, then use the rest to pay down debt or invest. Not many people are choosing to long term hold and deciding between dollars or pesos. And even if paid in pesos you could open a dollar bank account anywhere.
If you get paid in Peso you lose money every payday that you don't get a significant raise in salary. If you get paid in Dollars your salary raises roughly on pace with inflation.
* I know it is not that, but it feels like that. Also thankfully not tied to the officially reported inflation rate in Turkey