I think many of us would give anything to double whatever lifespan we have remaining at almost any point. Sorry about your friend!
There is a conversational habit that many people have, of responding to a specific situation described by someone, with a generalization of that situation, or by bringing up one of their own similar experiences.
None of these responses are terrible, these responses are no doubt true. But in conversation, those are low bars.
These segues come across, and frankly are, very dismissive of the original particular circumstances brought up.
It is best to respond to specific situations, with something thoughtful and specific to them. The specific situation was not brought up as conversation filler or general smalltalk initiation, but for its specific import, so respect that.
Its an easy bad habit to have, but once it is recognized, it is fairly easy to break. And the result is people will find conversations with you much more thoughtful, caring, and pertinent.
Need examples beyond your own? Don't respond to the news that someone lost a leg with amputation statistics, or the time you almost lost a finger. Don't respond to someone's pain with trivia or tautology. Respond with specific comfort or help, or not at all.
[flagged]
“Man! Because he sacrifices his health in order to make money. Then he sacrifices money to recuperate his health. And then he is so anxious about the future that he does not enjoy the present; the result being that he does not live in the present or the future; he lives as if he is never going to die, and then dies having never really lived.” - Tenzin Gyatso