That is why today, although women are given arms and combat training in Israel IDF (and in the Russian Army and AF), they are NOT assigned to front line fighting units. The Russians learned this lesson in WW2 (1941-1945) and the Israelis learned it in their War for Independence (1948-1949).
In the WWII and Israeli independence war, both sides using women were simply out of men; we’re far from that (though I’m sure we’re running low on men willing to go die in some toilet with unloaded guns for no good reason).
Iran (and Syria, and anyone else willing to try) needn’t fear the US military in terms of ground wars anymore; we don’t have the numbers.