Friedrich Nietzsche said this quote

All good things are powerful stimulants to life, even a good book written against life.