John Bradshaw said this quote

Evil is a source of moral intelligence in the sense that we need to learn from our shadow, from our dark side, in order to be good.