I always figured "laws" were the rules for how reasonable men and unreasonable men were to interact.
If all men were reasonable, we wouldn't need them, would we?
I don't think so. Even reasonable 'men' (aaargh!) may create a set of rules for societies to live by. This is what the law is supposed to be, a reasonable set of rules for people/mankind/men and women to live by.
(Disclaimer, the bolding is not because I am politically correct. It is because I am not men, I am women and by definition, the poster excluded me and my type from his discussion. That is kinda rude. I don't know if this is deliberate or whether he is simply quoting from a set of literature that was written in the style but I thought to let the poster know that that is rude and not something that we want to encourage here.)
Laws, or at least rules for people to live together are as old as mankind - this includes the ability to enforce the rules. I have a sister who holds a Doctorate in African Tribal law, specializing in the the unwritten, the societal rules that are spoken, but not written and have been passed down from generation to generation. Those rules have been codified and used by societies as much as our written systems today is used.
There is this little story to illustrate the point that laws are meant to be sets of rules for societies to live together, and not sets of rules to 'govern' people. There is this old Roman Dutch law that if you lived higher than street level, it is prohibited to toss out of the window, the contents of your nightly-pot-that-is-stored-under-the bed. Apparently people did that kind of thing regularly. In African tribal law, the unwritten stuff that is passed down from generations, the focus is on how to trade animals. What is considered fair and what not. War between tribes is also very stylishly codified.
Laws are not meant to control people. Laws are meant to be a codification of customs and agreed to rules, to assist people to live together.