If this were true, remote positions would pay just as well as the highest paid places in the US, but they generally don’t, because they don’t have to.
It’s only difficult to hire developers anywhere because you don’t want to pay what it would cost to get a yes.