Marcus Aurelius said in his "Meditations" that a philosopher would come "... above all things, with a meekness and a calm cheerfulness, to expect death, as being nothing else but the resolution of those elements, of which every creature is composed. And if the elements themselves suffer nothing by this conversion of one into another, that dissolution, and alteration, which is so common unto all, why should it be feared by any? Is not this according to nature? But nothing that is according to nature can be evil."
We are a temporary ordering of elements that, before our individual creation, were utterly disorganized, with no form function or intent. For a period un-noticeably brief on any scale relevant to those elements, our component elements may have a form, function, intent... a purpose. When we die, the elements that make us up are returned to their chaotic state, maybe to remain un-incorporated forever, maybe to become part of another new form, function, intent.
Marcus Aurelius makes a good point that simple participation in the universe, being part of such a basic natural process as life and death, no matter how mean or grand the specific details, is in itself good and never evil. It's hard to be too worried about what happens after death if you accept that whatever happens, it's supposed to be that way.