Consequentialism refers to those moral theories which hold that the consequences of a particular action form the basis for any valid moral judgment about that action. Thus, on a consequentialist account, a morally right action is an action that produces good consequences. In other words, the ends justify the means.
See more at Wikipedia.org...