If you don’t have hope when you have little else, you don’t have anything. The behavior is understandable, even if wildly irrational.