Isn't it a false assumption that immigrant workers should eventually get Green Cards? The whole point of the H1B system is to temporarily fill shortages of skilled workers, not to be a path for permanent immigration.
> The intent of the H-1B provisions is to help employers who cannot otherwise obtain needed business skills and abilities from the U.S. workforce by authorizing the temporary employment of qualified individuals who are not otherwise authorized to work in the United States.
For the DOL, yes. For you too, maybe. But for the individual involved, probably both intents are in equal importance, and that is perfectly legal and moral.