I never was a fan of Bernie Sanders and it was to a large extent stuff like this.
H-1B isn't free of problems-if they get laid off or quit without a new employer they risk deportation- but H-1B employees are statutorily paid at or above what comparable non-H1B employees are paid.
We should be expanding legal immigration pathways.