Who taught them the 10 Commandments? It must have been so unruly in those biblical days that people in that era to be scared of GOD to actually lead a decent life!

Religious dictates are a way of controlling people. It's sociology. It works sometimes!