This is true, but unlike any other workplace, if your union is filled with corruption and nepotism you can vote to change your union leadership or even to disband it entirely and replace it with a new union under entirely different leadership, operating under new rules written to specifically address the problems with your old union.
Unions at least give you the option of improving the situation if the vast majority of union workers agree that there's a huge problem.