Hamurabi's code was the oldest (existing at least) CODIFIED system of rules and laws and morality...but the concept that humans have regulated their interaction with some sort of code (no matter how crude) is older than religion.

Stay safe all.

Perfection does not exist. The question therefore, is: what level of imperfection are we willing to settle for?