I wonder if we tried investing in public education at K-12 level, we might get more capable local workers? Unfortunately, certain political interests find more votes among the under-educated.
The whole point of H1B is to get smart and talented people to the US.