If YHWH is more than just the tribal god of the Hebrews, As ra was for the egyptians and zeus for the Greeks and If what is referred to as "god" by monotheistic religionists is actually this YHWH then he has some explaining to do in how he led by example. When the religious nutcases (they also worshiped yhwh) came over from the low countries and England and met the "savages" that were the natives of this land they used this Moses story, and gods example as justification to committ a long history of genocide.
Are we not to lead by example? Were not the kings of Israel expected to lead by example? If YHWH is all knowing wouldn't he know that his example would be the basis of much of human conduct in the future? Many blame free will for dark moments of humanhistory saying "you can't blame god for genocide it's just bad people misusing their free will.". But I ask would the israelis be punishing the Palestinians without this and other stories found in their book? In the same token would there be such a thing called Jihad if not for the emphasis placed on such stories in the koran. Could it be said that Moses and Joshua directed a jihad against the idol worshipping pagan cannanites? This story and those of a similar color have been used as justification by conquerors when they conquer.
Or could it be that these are stories of a tribe fighting for survival and then when they win claim their god (insert gods name) was on their side and when they lose it was because they angered their god? stories and myths help people to understand otherwise difficult concepts and actions.
Now examples are important I think we can all agree. So I turn to a man like Gandhi, using nonviolence to solve problems ...and he worshipped brahma and vishnu and kali. Well it can be said gandhis pagan idea, This nonviolence, is a modern thought for a modern age is not applicable to the slave dealing concubine raping, sword weilding genocidal Hebrew culture 3000 years ago and that's true enough. Gandhi walking in israel would have clearly stood out like Jesus of nazareth standing in a kingdom hall.
But if YHWH is timeless and changes not then why did he allow himself to be depicted as an example of violence. People have to die for him and let's not forget the animals nor his son who had to die. Death blood and violence. Then in an amazing example of doublespeak that would make janet napolitano jealous...he inspires a guy to write...god is love. Even though his superlative example of love was sending his son to be executed. Now Jesus is practically an opposite example. And look what that led to...christians killing non christians and christians alike. Why? because the example that YHWH made for himself. I can almost hear Jesus now, " i have a hard enough job as it is, dad, why did you have to be such an intolerant, blood thirsty pyschopath...the sinners are just so confused."
And confused they are, for 2000 years apologists and critics have been hashing it out but only one man figured it out (recently) how to resolve conflict without shedding blood and he was a Hindu! So much for your example YHWH.