proverb
suggests that
Wrong or unfair or illegal methods may be used if the result of an action is good.