I'm old enough to remember when I got into this field when there were more women in it. Back then, it was a way to make a decent living, but not a path to riches.
That changed with the internet boom and I ran into fewer women developers and sysadmins. Once it got out of its "clerical" status and into a path to riches, the demographics shifted. My first dev job iin 1990 was 40% women devs to 60%.
I've worked in places since then with NO women devs. Those all sucked, BTW.