No one knows for sure if there's any intrinsic meaning of life, we are free to ascribe one - whatever our view is. Even if it is that we are just life forms doing the best we can, like the foxes and the whales live as best they can - with their skills and limitations. Suppose the difference is, ever since we've had campfires, we have sat and mulled over what our place in the universe might be.
We can aim to be happy (or at least content or at peace) within the constriction of trying not to harm others.
For the person who said they were not able to help others, they were too ill and so on - can you find happiness in music, poetry? film? Can you share something with those you love - memories (I recorded my gran telling stories of her life, was always glad I have done that - in fact they are in a Manchester museum now - she grew up through many challenging times as was born on eve of 1 WW), a smile, something to let them know you value their care? Its rare not to be in a position to have nothing to give. I have had a chronic illness which meant I was in the house for periods of time - I prayed, meditated, wrote letters.
Hard when we are in position of dementia (this has spurred me to think of making a document about what care I would/would not want).
The one time I felt desperate with mental pain and thought about suicide I had a strange experience. I was crying out (inside) I can't take any more, when - also internally - a very calm, authoritative male voice said to me 'Your time here is not finished yet' with a very strong sense that I still had things to do/give even if I had no idea what those things were.
That has never left me, though I have an outwardly very ordinary life.
We never know how our strength, perseverance, our being here influences others.