You're a) expanding the labor pool with b) people willing to work for less money than the locals. How you think that doesn't drive down wages is beyond me.
But good luck with that; I think the data shows that it's not a very pronounced effect.
Yes, you're right, H1-B visas and offshoring have done wonders for the average US software engineer's wages.