This is what people wrote down at the time, Nearly every civilisation was slaughtering others, and of course the justification is that God told them too.
I remember when George bush invaded Iraq it was because God told him to.
Just because people said God told us to kill all these people doesn't mean he did, I think it is attempted justification for horrible crimes.
So the wars and killing are possibly accurate, but them trying to justify it with God told us to, well clearly a very different god than the one Jesus talked about. I think If God does exist he would clearly distance himself from these allegations as recorded.
Also the story of Job is considered a parable by many, not literal.