YHVH is called "the lord of hosts" for a reason -- and it's not hosting dinner parties.
The New Testament does smooth a lot of this out, though Jesus does say he comes not to destroy the law, but to fulfill it.
There's bloodthirsty sects under both umbrellas. Salafists, Templars -- turns out that giving humans a good book to read doesn't get rid of the fact that they're still humans. Don't forget, slavery in America's south was justified by many on religious grounds because blackness was seen as being the mark of Cain...