When God did command for some people to be killed, it was for justice purpose.
Like all of the children killed at Noah's flood? Or the kids killed by the bear for making fun of a bald guy? Yeah, thats Godlike justice for you.
Or how about all of the women and children killed in Numbers 31? Simply because not enough of them were killed before capture?
Not buying it.