There is nothing "weak" about standing up for your own economic interests. The H1B program has largely been based on a fiction--using a handful of superstars as marketing cover for tens of thousands of mid-skill developers. But with AI now coming for everyone's job the pretext of a "skills shortage" is unsustainable.
Mid-skill developers? It's now become common to just contract out dev work to folks in Eastern Europe, for example. There are exceptional people there. And it's now really hard to get them to the U.S. so instead of having them pay taxes in the U.S. and spend their wages in the U.S. and maybe found their own startups and thereby grow the U.S. economy, they just do all that in their home country.
All that immigrant hate is so short sighted, it's hard to believe that you think that's actually in your own interest. Both common sense and history disagree with you.
(Though I admit that xenophobia has evolved in ancient human societies for good reasons. No reason to not realize it's bad though, not just morally but economically too. Very suitable for populism though, clearly.)