The purpose of life is to avoid death.
We work to have money, to buy food and shelter, so that we won't die of starvation and exposure.
We reproduce to keep our names alive, so that we essentially become immortal.
We fight wars because we're afraid of being killed first.
We make advanced researches in medicine, because we're afraid of becoming old, or dying too early for our time.
But no matter what we do, death is unavoidable. Seems kinda pointless, doesn't it?