That's the stereotype. As a former H1B holder myself I can say that I never experienced it.
That said, if your employer sponsors you for a green card while you're on an H1B you are quite trapped in your job, and I wouldn't be surprised if people found their wages not rising as much as they would have otherwise.