You don't get paid the same $2000 (just for argument) a month when you live in an economy where the cost of living is less than the purveyor's home country. If that were the case, everyone would work remotely in Venezuela, like kings. If I transferred to Bern, for example, my current pay would be 14.8% below the CoL adjustment compared to the locals. They would have to pay me more to live there. Similarly, if you move to a place where the CoL is minimal (let's say, the DRC), there is no way someone will pay you US wages, because that would make you one of the highest earners in the country by percentage.
Even in the US, companies have cost of living adjustments (I make 20%+ more than a contemporary living in Alabama, for example).