Deuteronomy 20:10-16

LEB(i) 10 "When you approach a city to fight against it, you must offer it peace.* 11 And then* if they accept your terms of peace* and they surrender to you,* and then* all the people inhabiting it* shall be forced labor for you, and they shall serve you. 12 But if they do not accept your terms of peace* and they want to make war with you, then you shall lay siege against it.* 13 And Yahweh your God will give it into your hand, and you shall kill all its males with the edge* of the sword. 14 Only the women and the little children and the domestic animals* and all that shall be in the city, all of its spoil you may loot for yourselves, and you may enjoy the spoil of your enemies that Yahweh you God has given to you. 15 Thus you shall do to all the far* cities from you, which are not from the cities of these nations located nearby.* 16 But from the cities of these peoples that Yahweh your God is giving to you as an inheritance, you shall not let anything live that breathes.*