Eckhart Tolle said this quote

To recognize one's own insanity is, of course, the arising of sanity, the beginning of healing and transcendence.