I completely agree, but that's not what the H1-B visa program does. It allows companies to lock in immigrant workers at a lower rate and little to no job mobility. From a companies standpoint it is obviously what they want - pay less, and job lock in!
The fix for the H1-B is true immigration reform. We need to make it easy for people to come to the US and enter the job market just like anyone else.