I've long believed that the ten commandments actually evolved.
Ages ago, a few tribal communities had what I like to call the "No Shit, Sherlock" decree. The decree would have had quite a few local little rules like: Stop killing each other, don't take other people's stuff, and things such as that. There were probably even a few extra rules like: Don't fuck animals that are bigger than you are, don't drink standing water, and so on.
Of course, these rules varied through time and tribe, but some remained as good, basic rules.
Then some asshole came along and said "Hey, if we say a god said all of this stuff, it will scare people shitless, and they will be SURE to follow them," and again, the rules remained, but did change a bit through time and religion. Of course it only took a short time after that for some other asshole to realize that, if we assign a couple of other BS rules to that list, we can scare people into acting like we think they should AND it might scare some other people into believing what they believed. So, it suddenly became a sin to worship Billy Idol or say things like "God fucking cocksucking damn it to fuck!".
Of course, we realized that we couldn't just make those lists. No, it would be a lot better if a god told us all this shit! But, we can't have this god tell just anyone - I mean, why in the fuck would this god tell Herb down the street - the fucker doesn't even have matching sandals!
But, that Moses guy, he's OK. But, damn it, we can't have that god just give Moses this list. Kinda makes our god sound like a whore - so we'll tell it that this Moses guy had to climb a really tall mountain and talked to this shrubbery that was on fire, because it makes for GREAT print and makes a whole hell of a lot of sense. But, hell, we are still making Moses sound like a bit of a pussy, so let's have him cross a desert with a bunch of people for a really long time after he opens his arms and makes water move...because, again, that makes a fucking GREAT story!
Meanwhile, we are not the only creatures that feel empathy nor follow little rules such as this. Why don't dogs rip out our throats all the time - seems like it would be natural for them. How come our cat doesn't eat our nose.
Sure, we might teach our pets some of this, but these animals still have a sense of right and wrong instilled in them, through ages of evolution, natural selection and the natural want to be nice to each other.
Recently, I found a study that had been done about dogs. Let us say you have three dogs. You make the first one do a trick, then give him a treat. You make the other two do the same trick...but don't give them a treat.
You go back to the first do and have him do the trick again...heck, might even have treat in hand. That first dog will not do the trick because, scientist thing, the first dog does not feel the others were being treated fairly. (another clue to canine empathy is that, if a human yawns, the dog will also yawn, as if it is contagious.).
If dogs are able to follow such simplistic and studyable empathy traits, then surely humans can do the same thing for the simple rules of life.