Deuteronomy 20
16 Ref But in the towns of these peoples whose land the Lord your God is giving you for your heritage, let no living thing be kept from death:
17 Ref Give them up to the curse; the Hittite, the Amorite, the Canaanite, the Perizzite, the Hivite, and the Jebusite, as the Lord your God has given you orders: