The question often arises because of a psyop that is expected to be existent in our world. Women going to war, men are more likely to go and enrol in war. In reality it is just a marketing scheme to influence men to go to war. The females are rarely deployed in the armed conflict, but should be placed in desk military jobs that can have contact with the soliders. I will expose some facts on another level, and the nuance here is complex. If you are running a country or you are a commander, you should be able to employ in certain positions women "to go to war", but this is done to entice soldiers, morale and market people to enroll. Most people cannot do anything else exceptional in their lives but go to fucking war, only now unfortunately most purpose of any war is absolute a LIE and not ethical. There's nothing to even die for in this fucking world in a war, but for the safety of your family and lineage, which is the war every man endures in all forms in life.
However, in an ideal scenario this is a strategic move, and it is not a debate of the power of a woman in armed conflict, but a marketing asset and element of ease among the active soldiers. This element needs to be present, because there is another issue present here. A solider in foreign or innate land will need to have a sense of proximity with a feminine element and won't even mention why.
Females are needed in war but in other ways than armed conflict. Females should fight the psychological war. They have an active job of keeping themselves and families safe and protecting the lineage and the soldier knowing this as a fact. Select few are also needed to be in proximity of the soldiers consciousness - active memory and acknowledgement of females forces a man to be a MAN - have a sense of control over the unimaginable chaos of war.
In war, you have to be reminded that you are not a pussy but a man. Sorry to put it directly, you have to remember that you possess a dick, and you are a dominating and brave, assertive force that is able to take lives, execute and be an assassin as much as accepting death when it comes. This in levels cannot happen but in relation to a female anyway - lover, mother, family, children etc. are all product of female and male working together.
For a war to be won, men and women need to work together and play their role societally and individually.