I was too young and dumb to understand that meant that the owners of companies that needed software engineers wanted cheaper labor and that I was to play a part in the devaluation of engineering labor by helping supply exceed demand, thereby allowing company owners to commodify software labor to ultimately pay wages proportional to hours worked rather than offering a share in company ownership, which allows for compensation proportional to company success.
If H1B's were legitimately about labor shortages, it would be required that all companies fire/layoff their H1B's first. I am pretty liberal, but market dynamics are market dynamics, and I am surprised I haven't seen more anti H1B sentiment to bring scarcity (and therefore leverage) back into the labor market.
A lot of the history of racial atrocity has been a direct result of desperate (and therefore exploitable) foreign labor de-valuing incumbent labor and the following retribution to the weaker vulnerable foreign laborers, rather than the harder work of solidarity and demanding a fair share via things like trade unions/guilds.