yes, but only if they are doing the same job, working with the same amount of care
You shouldn't pay a freeloader the same as someone who works their butt off. also the gender wage gap is due to how men typically work more dangerous jobs, therefor more pay.