Death appears to render life meaningless
Death appears to render life meaningless for many people because they feel that there is no point in developing character or increasing knowledge if our progress is ultimately going to be thwarted by death. However, there is a point in developing character and increasing knowledge before death overtakes us: to provide peace of mind and intellectual satisfaction to our lives and to the lives of those we care about for their own sake because pursuing these goals enriches our lives.
From the fact that death is inevitable it does not follow that nothing we do matters now. On the contrary, our lives matter a great deal to us. If they did not, we would not find the idea of our own death so distressing--it wouldn't matter that our lives will come to an end.
The fact that we're all eventually going to die has no relevance to whether our activities are worthwhile in the here and now: For an ill patient in a hospital a doctor's efforts to alleviate pain certainly does matter despite the fact that 'in the end' both the doctor and the patient (and ultimately all life in the universe) will be dead.