  Hume was heavily influenced by Hutcheson, who was one of his teachers. His system also incorporates insights made by Shaftesbury, though he certainly lacks Shaftesbury's confidence that virtue is its own reward. In terms of his place in the history of utilitarianism we should note two distinct effects his system had. Firstly, his account of the social utility of the artificial virtues influenced Bentham's thought on utility. Secondly, his account of the role sentiment played in moral judgment and commitment to moral norms influenced Mill's thoughts about the internal sanctions of morality. Mill would diverge from Bentham in developing the ‘altruistic’ approach to Utilitarianism (which is actually a misnomer, but more on that later). Bentham, in contrast to Mill, represented the egoistic branch — his theory of human nature reflected Hobbesian psychological egoism.