Student or Learner
Maybe with him for a friend she could survive the next year and a half without wanting to die. She smiled for Tom in spite of the painful cramps she was feeling deep in her belly.
What does the preposition 'for' mean in this sentence, 'at' or 'because of' or anything?
Thank you in advance.
To cheer him up, for his benefit