Robert A. Heinlein said this quote

Customs tell a man who he is, where he belongs, what he must do. Better illogical customs than none; men cannot live together without them. From an anthropologist's view, 'justice' is a search for workable customs.