As self-preservation, therefore, teaches men to applaud whatever tends to promote the welfare of society, and to blame whatever is likely to hurt it
 Adam Smith, The Theory of Moral Sentiments (1759). copy citation

Context

“and that antecedent to the institution of civil government, there could be no safe or peaceable society among men.7 To preserve society, therefore, according to him, was to support civil government, and to destroy civil government was the same thing as to put an end to society. But the existence of civil government depends upon the obedience that is paid to the supreme magistrate. The moment he loses his authority, all government is at an end. As self-preservation, therefore, teaches men to applaud whatever tends to promote the welfare of society, and to blame whatever is likely to hurt it; so the same principle, if they would think and speak consistently, ought to teach them to applaud upon all occasions obedience to the civil magistrate, and to blame all disobedience and rebellion. The very ideas of laudable and blamable, ought to be the same with those of obedience and disobedience.” source