Yes I don't mean to formalize all human life, but I bet every contract that has been created was so because people suffered from dealing with the randomness of "others". Last instance was lack of official document for inheritance in my ancestors country.. now everybody is fighting to grab his piece and nobody can resolve the issue.