Daniel Kahneman said this quote

It's a wonderful thing to be optimistic. It keeps you healthy and it keeps you resilient.