Israel was commanded by God to drive the Canaanites out of the land and completely destroy those who remain. Although appalling to modern sensibilities, this command can be harmonized with the Bible’s portrayal of a God of perfect love and justice. God has a duty to judge the world and sometimes judges people and nations in the course of history, not always waiting until the final judgment day. We should respect and appreciate God’s judgments, flee from anything that defiles us, and pray for those who are far from Him.
For further study of the nature of God’s love and the difference between unconditional love and unearned, undeserved love consider the following resources: