Deuteronomy 20:11-15

EJ2000(i) 11 And it shall be, if it makes thee an answer of peace and opens unto thee, that all the people that are found therein shall be tributaries unto thee, and they shall serve thee. 12 And if it will make no peace with thee but will make war against thee, and if thou should besiege it, 13 and if the LORD thy God should deliver it into thine hands, then thou shalt smite every male thereof with the edge of the sword. 14 Only the women and the little ones and the animals and all that is in the city, all the spoil thereof, shalt thou take unto thyself; and thou shalt eat of the spoil of thine enemies, which the LORD thy God has given thee. 15 Thus shalt thou do unto all the cities which are very far off from thee, which are not of the cities of these Gentiles.