It's part of why I am always happy to share how much I earn with my coworkers, when the context is appropriate.
Confidentiality only helps those in power to suppress compensation.