Well, unions do not exist to keep people entrenched on their jobs. That perspective is propaganda (by you-know-who).
There's not a lot I can say that isn't covered in https://en.wikipedia.org/wiki/Trade_union