@bobsal u1553115,
God had ordered the Israelites to slaughter the apparently sinful Canaanites, saying: "You shall not leave alive anything that breathes. But you shall utterly destroy them."
And, according to a passage in the Old Testament's Book of Joshua, they did just that:
"Thus Joshua struck all the land, the hill country and the Negev and the lowland and the slopes and all their kings. He left no survivor, but he utterly destroyed all who breathed, just as the Lord, the God of Israel, had commanded…. He left nothing undone of all that the Lord had commanded Moses." (Joshua. 10:40, 11:15)