Deuteronomy 20:13-14

13And when the Lord your God gives it into your hand, ayou shall put all its males to the sword, 14 bbut the women and the little ones, the livestock, and everything else in the city, all its spoil, you cshall take as plunder for yourselves. And dyou shall enjoy the spoil of your enemies, which the Lord your God has given you.

Judges 21:11

11This is what you shall do: eevery male and every woman that has lain with a male you shall devote to destruction.”

1 Samuel 27:9

9And David would strike the land and would leave neither man nor woman alive, but would take away the sheep, the oxen, the donkeys, the camels, and the garments, and come back to Achish.

1 Kings 11:15-16

15For fwhen David was in Edom, and Joab the commander of the army went up to bury the slain, he struck down every male in Edom 16(for Joab and all Israel remained there six months, until he had cut off every male in Edom).
Copyright information for ESV