THis theory defines the "usefulness" of an action based on its outcome and considered the best course of action that leads to a positive outcome

This theory is known as Utilitarianism.