People are selling themselves short. Your salary and your cost of living aren’t connected. The value you deliver for the company is all that matters.
Pure value rarely has to do with your salary; it's more about supply/demand. If we doubled the supply of people doing your exact job right now, your ability to negotiate (and your salary) would probably drop, even though you are delivering the same "value" to the company (unless value encompasses supply & demand).
(As I've mentioned above, I've seen pay differences in circus of 2.5X for performers with different passports doing pretty much the same exact job in the same exact show - the value they were delivering was the same, the only difference was country of origin). So pay is also about cost of best alternative.