There are two things that get mixed up. Equal pay, and equality of outcome.
Equal pay isn’t about getting paid the same as an engineer when you just clean floors. It’s about getting paid the same as an engineer because your also an engineer doing the same quality of work.
There is basically no significant evidence of any major specific wage gap between men and women for the same work. But people in general do sometimes get different wages for the same work, sometimes deliberately, sometimes accidentally.
The protections in the equality act about discussing pay is to ensure that employees are able to freely discuss their pay to ensure they have collective bargaining and are able to be paid fairly for the same work.
It’s got nothing to do with gender, or equal pay for different jobs. It’s about ensuring equal pay for the same jobs.