Definition.com
The End justifies the means (n.) is trivial as stated — means have no worth except from their end — and dangerous as meant: it makes crime a duty in the service of a "holy" end that is only someone's opinion.