Consequentialism is a term in ethics; it means that right or wrong depend on the consequences of an act, and that the more good consequences are produced, the better the act.
It helps provide guidance when a person is faced with a moral dilemma; a person should choose the action that maximizes good consequences.