The concept of the H1B is fine, but it is way, way, way overused by large companies. They’re not evil, but the way they’re handed out is just not enforced in any reasonable way.
There are dozens of similarly-skilled US workers for almost every single H1B that’s handed out in the tech industry. People on these visas are just significantly cheaper and will never, ever complain for fear of being deported.
Designer jeans, maybe, but you can get cheap jeans for nothing and they still last forever