They paid pretty poorly compared to what many in the tech sector can make, but it was low stress and you had a lot of PTO and decent other benefits.
So why does anybody bother to be a high performer? I don't know. Why do Olympic athletes in obscure sports with no pro leagues and no endorsement prospects still practice long hours and try hard? Why does anyone become an astronaut when they could earn more flying commercial jumbo jets? Some people just care about excelling at what they do, more than they care about money. Often you'll find these people in high-impact public sector work.
Union wages are known by all their members. And somehow the world hasn't ended.
Transparency seems reasonable to me. A good first step.
For the game theory minded, highest recommendation for the book The Logic of Collective Action. Explains the free rider problem, debunking the prevailing economic folk theories of the day (1965).
https://en.wikipedia.org/wiki/The_Logic_of_Collective_Action
TLDR: Collective bargaining keeps everyone honest.
In the US, employment is ridiculously one-sided in the benefit of the employer and this has only gotten worse as inflation has returned in force. The fact that they're throwing up their hands and complaining "think of the poor capitalists!!" just makes me shake my head.