All men are sensible of the necessity of justice to maintain peace and order; and all men are sensible of the necessity of peace and order for the maintenance of society. Yet, notwithstanding this strong and obvious necessity, such is the frailty or perverseness of our nature! it is impossible to keep men, faithfully and unerringly, in the paths of justice. Some extraordinary circumstances may happen, in which a man finds his interests to be more promoted by fraud or rapine, than hurt by the breach which his injustice makes in the social union. But much more frequently, he is seduced from his great and important, but distant interests, by the allurement of present, though often very frivolous temptations. This great weakness is incurable in human nature.
Men must, therefore, endeavour to palliate what they cannot cure. They must institute some persons, under the appellation of magistrates, whose peculiar office it is, to point out the decrees of equity, to punish transgressors, to correct fraud and violence, and to oblige men, however reluctant, to consult their own real and permanent interests. In a word, OBEDIENCE is a new duty which must be invented to support that of JUSTICE; and the tyes of equity must be corroborated by those of allegiance.
David Hume, "Of the Origin of Government". Hume takes this idea very seriously, making the claim (just prior to this) that all of government exists to maintain courts: we invent duties of obedience and allegiance to government in order to make possible the judicial function of government. This position seems fairly unique to Hume.