Salary should be scaled in part by cost of living, otherwise it's unfair to people in high COL countries.
Gitlab does this when calculating salary [1] for their employees. It seems only fair to me.
[1] https://about.gitlab.com/handbook/people-operations/global-c...