Lessons from the Canaanite Conquest

Did God want the Israelites to kill all the Canaanites? Or is this the response of a repentant group of Israelites who have come to realize that allowing Canaanite influence led to their downfall as a nation?

This solution may seem to "errantist" for some. But that doesn't bother me especially. Should it?