Deuteronomy 3:6

3:6 We put all of these under divine judgment just as we had done to King Sihon of Heshbon – every occupied city, including women and children.

Deuteronomy 20:14

20:14 However, the women, little children, cattle, and anything else in the city – all its plunder – you may take for yourselves as spoil. You may take from your enemies the plunder that the Lord your God has given you.