Deuteronomy 20:11-18

ECB(i) 11 and so be it, if it answers you of shalom and opens to you, then so be it, all the people found therein become your vassals and serve you. 12 And if it shalams not with you, but works war against you, besiege it: 13 and when Yah Veh your Elohim gives it in your hands, smite every male thereof with the mouth of the sword: 14 but the women and the toddlers and the animals and all within the city - even all the loot thereof, plunder to yourself; and eat the loot of your enemies Yah Veh your Elohim gives you. 15 Thus work to all the cities mighty far from you, who are not of the cities of these goyim. 16 Only, of the cities of these people, Yah Veh your Elohim gives you - an inheritance, preserve naught alive that breathes: 17 but in devoting, devote them - the Hethiy and the Emoriy the Kenaaniy and the Perizziy the Hivviy and the Yebusiy as Yah Veh your Elohim misvahed you: 18 so that they not teach you to work after all the abhorrences they worked to their elohim - and thus sin against Yah Veh your Elohim.