It's less likely to be "a certain age" and more surrounding factors: if most of your friends have passed and you don't have much chance to do things that interest you because you could pass at any moment yourself there comes a point where life has limited worth.
Essentially, hope runs out, and when it's run out entirely you either wait for death, or ... don't wait.
> It's fascinating that even for very ill or injured people the will to survive is so strong
Sometimes. Chronic illnesses are a massive contributing factor to suicide rates for instance: https://www.thelancet.com/journals/lanepe/article/PIIS2666-7...
I probably won’t ever meet my grandchildren if there are any, because I am over fifty and single; I probably will never be a parent. So I will have to go a lot sooner if I am not to be a burden on society. But if you think you are going to be a grandparent, you can work on being an irreplaceable and useful one.
Very few people are independent after age 80, and a miniscule amount after 90.
And I don’t want that for my kids, or even from the rest of society.
For physical illnesses.