Anyone can end up in an abusive relationship, not just women. Choose well, indeed. And choose a career which offers generous benefits.

Also, I know women who work in tech who did that advice and are fine. They make high enough salaries to afford good daycare (or it is provided onsite).