Deut 7:2 is a typical case.
When the LORD your God hands these nations over to you and you conquer them, you must completely destroy them. Make no treaties with them and show them no mercy. (NLT)
Here God demands that Israel exterminate all the Canaanites. What’s going on? Is the God of the Bible (or at least the Old Testament a genocidal maniac?
This is part one of a series, so it will only deal with part of the answer. You will have to watch out for the other parts for a fuller treatment. The really difficult takes more than five minutes 😉