wrong again----Joshua targeted a very small little town---not "all of Canaan"--I'm not defending Islam so this little bit of whataboutism is just silly. Besides, long before Islam was a thing Joshua was ordering Jews to slaughter every man, woman, and child in Canaan. All Abrahamic religions are fundamentally evil.
and the issue was NOT every man woman and child----read it again---for the
record ---the issue was obliteration of the practice of child sacrifice. For fun--read a bit of SCRIPTURAL WRITINGS OF THE WORLD----from the MAHABHARATAH all the way to Homer's stuff which is also tantamount to scriptural writings----You can skip Beowulf----it is boring