Whatever the Canaanite were doing, they obviously angered the God of the Middle East enough that He sentenced them all including women and children and all animals to death.Who said a god has to be perfect? The Abrahamic god isn't claimed to be perfect or omnipotent or not vengeful etc in the Old Testament. Christianity started adding to the character.Because an actual, perfect omnipotent deity would possess none of those failings.But how does that make it not real? Why can't a god be totalitarian, vengeful, aggressive, violent, or an asshole?Absolutely not. The God of the Bible is a totalitarian, vengeful, aggressive and violent asshole.
As a Jewish friend once told me, the statute of limitations has probably run on that issue thousands of years ago.