Yes, this is the point. If you work for an American company you will probably get paid above local market rates. But you will still likely be paid below US rates for the same company, especially if you're in a developing / emerging / whatever the current proper term that won't get me told off by people richer and better educated than me is.
If you're working for a local company the increased willingness of American companies to hire remote workers is going to raise local dev salaries due to increased competition.
I think this is a good thing. If this also comes at the expense of American devs having their salaries squeezed, frankly I don't care. You're rich. You will be slightly less rich, or even just getting richer at a slightly slower rate.
While some American devs might view this as a personal tragedy, if you subscribe to a maximin view of what a desirable global economic pathway looks like (which I do), then the squeeze on American devs and increased willingness to hire remote workers globally is a good thing.