Paulo Coelho said this quote

Then I realize that words like optimism and hope which appear in all those self-help books that claim they'll make us more confident and better to cope with life, are just that: words.