Are you thinking of frontline roles? No active duty women would be absurd, but I am not familiar with this Hegseth or whatever his name is I suppose it's possible
Hegseth has stated on record that he doesn't think women should be in physical, in-person combat roles like infantry. He has stated he has no problems with women pilots, etc. so the GP is exaggerating.