Unions can be a deterrent to this. If you have sectoral bargaining, you can’t get a better deal anywhere because everyone pays the same. Or even if it’s within a single company, you’re just stuck with whatever scheme the union bosses agreed to.
But also, unions are a deterrent to new employers since fewer people want to start companies in industries where unions have taken over. They’re a nightmare to deal with. Fewer employers means less competition means worse services.
We have a dynamic economy with lots of competition. It’s easy to switch jobs and find a better place to work. We should not want to give this up.
It was cynically selfish and short-sighted. The US from 1980–2020 is a perfect example of how much more complex systems, economies, worker dynamics, and second/third/nth order effects are.
Competition is generally good for the consumer, but Americans need to wake up to the fact that it's not built into the system, it's to be regulated into it, and competing is only good so far as it doesn't turn into a race to the bottom (which again, is a matter of a regulator setting the bar).
I don’t have any objection to voluntary unions. Meaning people can join them for support or collective bargaining, but that citizens can just opt to not employ anyone in the union. Unions could be support structures for workers, instead they are mafia bosses.