This is true but salaries aren't based on cost of living exclusively they are based on demand as well. If more companies shift to remote work that will spread demand across the US driving up salaries in low cost of living areas and reducing them in high cost of living areas.