A chunk of the cannanites were neutrals.
I don't recall that G-D said to wipe out all the cannanites including the women and children.
Perhaps you can paste those passages?
Joshua 6:21 And they utterly destroyed all that was in the city[Jericho], both man and woman, both young and old, and ox, and sheep, and ***, with the edge of the sword.
Joshua 8:7 And ye shall rise up from the ambush, and take possession of the city[Ai]; for HaShem your G-d will deliver it into your hand.
Joshua 8:8 And it shall be, when ye have seized upon the city, that ye shall set the city on fire; according to the word of HaShem shall ye do; see, I have commanded you.'
(NOTE: It's not God speaking here; it's Joshua himself.)
Joshua 8:24 And it came to pass, when Israel had made an end of slaying all the inhabitants of Ai in the field, even in the wilderness wherein they pursued them, and they were all fallen by the edge of the sword, until they were consumed, that all Israel returned unto Ai, and smote it with the edge of the sword.
Joshua 8:25 And all that fell that day, both of men and women, were twelve thousand, even all the men of Ai.
Joshua 8:26 For Joshua drew not back his hand, wherewith he stretched out the javelin, until he had utterly destroyed all the inhabitants of Ai.
Joshua 8:27 Only the cattle and the spoil of that city Israel took for a prey unto themselves, according unto the word of HaShem which He commanded Joshua.
Pretty sure it was after reading these parts that I stopped reading in disgust. Perhaps not all the Canaanites, but every single individual in at least these two cities, men, women, and children. This was a time of city-states, so with these two cities died entire cultures.
No, I cannot stomach such things being glorified as good, whether from Norse Sagas or Middle-Eastern legends. It's disgusting.