It was partly the unions--often women didn't have one--but chiefly, it was thought for a long time that women should earn less than men. And as a matter of fact, women still DO make less than men across the board. Not as much less as once upon a time, but less.