This statement is not true for engineering as a whole. It may be true in CS (I have no experience in that field), but in many other STEM fields, employers are very happy to hire female candidates both for their diversity statistics and, probably more importantly, studies have shown that staffs with a more even proportion of men and women work better.