Taken to its logical conclusion, companies offering WFH would then be morally justified in replacing US workers with cheaper third world options. UK salaries in tech for example are about 1/4-1/3 of US levels.
However, hiring engineers from Latam could indeed be an option to replace US workers if they can't offer an edge. The issue here is the language barrier.