Yes, provided they truly put in the same hours and are equally reliable workers
Many women have primary childcare responsibilities, and have to dash off if a child is sick or has a problem, making them less reliable. Sad, but reality. Many women are not performing the way men do in the workplace.