Earlier quoted context omitted.
An H-1B is a temporary non-immigrant visa. You're not supposed to rely on it to build a life in the US with no backup plan; that was never the intent of the law. However, successive administrations ignored the intent of the law, for so long that people began to rely on assurances that the law never promised. Now that the law is getting applied properly, those people are facing the consequences. It sucks for them, but…
Your first sentence is factually wrong. I highly recommend that you refrain from commenting on any immigration related topics until you can get your facts correct.
> This nonimmigrant classification
https://www.dol.gov/agencies/whd/immigration/h1b
> The H-1B program applies to employers seeking to hire nonimmigrant aliens