In light of certain death, all goals are futile. This doesn't mean that life itself is pointless. It is the posession of material or intellect as a goal for personal fullfilment that will always leave you with a sense of emptiness. All these will ultimately be left behind.

So what does that leave you with? Time.

Time to spend while you are on this earth. That is all you've got and it is the way you spend it which is key.