“While there's life there’s hope, and only the dead have none” (Theocritus, a Greek poet of the 3rd century BC).
“If I fought wild beasts in Ephesus with no more than human hopes, what have I gained? If the dead are not raised, ‘Let us eat and drink, for tomorrow we die’” (1 Corinthians 15:32). This remark of Paul's summarizes quite well what to do when there is no hope.
13 But we do not want you to be uninformed, brothers, about those who are asleep, that you may not grieve as others do who have no hope.