In a lot of survival stories with good outcomes the person or persons involved had something to their spirits up and to help them stay in a positive mindset.

So I would say that anything that helps keep your moral up is a good thing provided you also do the practical things as you mention.