Frodo had the right idea.

"He knew all the arguments of despair, and would not listen to them." - JRR Tolkien