utilitarianism

a moral theory, now having several variants, which holds that the rightness of an action depends on its consequences, specifically its contribution to increasing happiness, with the ultimate aim being the greatest happiness of the greatest number (see teleology, consequentialism, deontology).