In fact, more broadly, there is a philosophy called utilitarianism that expresses the view that the most ethical decision is the one that creates the most utility for all involved.
Chapter:
Decisions, Decisions
Section:
Taming Complexity