the end justifies the means
Short definition from Wiktionary
Proverb
- Morally wrong actions are sometimes necessary to achieve morally right outcomes; actions can be considered morally right or wrong only by virtue of the morality of the outcome.
We haven’t written up the end justifies the means yet: Simple and Standard meanings, examples and a quiz.