I think the afterlife is based on some people's religious beliefs. That's fine.
I myself think of the origin of the species.
We do not expect animals to have an afterlife, yet we are descended from some of them. I do not get that disparity.
Anyway, a life well lived is a good life, and TBH the day my loved ones come back to me and comfort me and tell me how wonderful it is in the afterlife is the day I will believe it.
Hasn't happened. When you are gone you are gone. But have lived and that is good. Where were you before you were born? Nowhere. What gave you life? The fusion of an egg and sperm. Same applies to all creatures great and small.
Live a decent life (there will be blips along the way) give good example, do not hurt or kill anyone and you will die happy.
God is cruel to kill lots of people in floods, earthquakes, terrorism, plane crashes, and so on. What a lovely god.