It all makes me think of British philosopher John Stuart Mill, who described the social theory of utilitarianism, which holds that one must always act so as to produce the greatest aggregate happiness for the greatest number of people.
FORBES: The Happiest (And Saddest) Countries In The World