William Lane Craig said this quote
“ So whom does God wrong in commanding the destruction of the Canaanites? Not the Canaanite adults, for they were corrupt and deserving of judgment. Not the children, for they inherit eternal life. So who is wronged? Ironically, I think the most difficult part of this whole debate is the apparent wrong done to the Israeli soldiers themselves. Can you imagine what it would be like to have to break into some house and kill a terrified woman and her children? The brutalising effect on these Israeli soldiers is disturbing. ”