12 If it will make no peace with you, but will make war against you, then you shall besiege it.
13 When the Lord your God delivers it into your hand, you shall strike every male of it with the edge of the sword;
14 but the women, the little ones, the livestock, and all that is in the city, even all its plunder, you shall take for plunder for yourself. You may use the plunder of your enemies, which the Lord your God has given you.
15 Thus you shall do to all the cities which are very far off from you, which are not of the cities of these nations.
16 But of the cities of these peoples, that the Lord your God gives you for an inheritance, you shall save alive nothing that breathes;
17 but you shall utterly destroy them: the Hittite, the Amorite, the Canaanite, the Perizzite, the Hivite, and the Jebusite; as the Lord your God has commanded you;
18 that they not teach you to follow all their abominations, which they have done to their gods; so would you sin against the Lord your God.