Robert Anton Wilson said this quote

...an optimistic mind-set finds dozens of possible solutions for every problem that the pessimist regards as incurable.