Deuteronomy 3:19

3:19 But your wives, children, and livestock (of which I know you have many) may remain in the cities I have given you.

Deuteronomy 13:15

13:15 you must by all means slaughter the inhabitants of that city with the sword; annihilate with the sword everyone in it, as well as the livestock.