So hire Americans and train them. Pay them above market wages so they don't leave. Problem solved. I know at least a dozen people smart enough to write software that aren't in the tech field because the barrier to entry is high. It might not appear high to people in HCOL areas, but in the rest of the country, the barrier is quite high.
I'm not in the US and was talking in general, but I share your sentiment.
Tech people are the last ones to complain about the low pay
A lot of tech jobs are paying six to seven figures, you cant really demand employers to train and lower barriers. Why should employers lower their barrier and increase salaries even further?
Where do you get this feeling of entitelement for other people’s money ???
What else do you want at this point, maybe just plain UBI and a million to everyone just for being white american ?