And is there any man who has betrothed a wife and has not taken her? Let him go back to his house, lest he die in the battle and another man take her.’
Deuteronomy 20:7

This verse assumes that the army of Israel includes no women. This assumption is carried through the entire Bible. Women were never expected to be in combat and only engaged as a last resort.