The Martian is one of my favorite stories. Watney is trapped on Mars without enough food to survive until a rescue mission arrives. He accepts he might die, but never gives up, solving problem after problem and using the momentum to keep his morale up. This is the way.