Consequentialism

Consequentialism is the idea that actions should be judged by their consequences.
An action is right if it leads to good results, such as more happiness or less suffering, and wrong if it leads to worse outcomes.
Utilitarianism is a well-known form of consequentialism.