Many religions lay out a set of precepts... and claim that these instructions were given by a god or gods. For example, the first code of law by Hammurabi of Babylon... was handed to him by the god Marduk... this is a bamboozle... a pious hoax.... if Hammurabi had merely said, "Here's what I think everybody should do," he would have been much less successful...
The Varieties of Scientific Experience: A Personal View of the Search for God (2006)