Analysis of information sources in references of the Wikipedia article "必要之恶" in Chinese language version.
The idea of a necessary evil goes back to Greek. The first necessary evil was marriage, and the first example in english, from 1547, refers to a woman.