In most countries in the world, unionization doesn't mean "get everything you want", it means collective bargaining. It's an approach that cuts both ways, creating stable employment terms, which benefits both employer and employee.
Government-employee unions are bad for their employer, the government.
They’re particularly bad when politicians can take money from taxpayers, give it to union members, who are then forced to give it to their unions, which then turn around and donate it to the politicians’ campaigns.