Brandon Sanderson said this quote

Men are more resilient than that, I think. Our belief is often strongest when it should be weakest. That is the nature of hope.