I also want to point out that God isn't terribly interested in humanistic evaluations of what is moral and what isn't. You refer to giving commandments then commanding Israel to kill thousands. Life and death don't matter much. This was done to purify the land where His name was to be written.
Wow. Killing thousands to write down your name? I guess I'm not terribly interested in Biblical evaluations of what is moral and what isn't then.