if you believe in an afterlife and it can lead to lessen the subconscious fear of death.
Afterlife is invented to create fear in people that they need to pay for it in the next life if we commit sins in this life.
Apart from the above, not sure there is any real evidence for the afterlife with my limited knowledge.
what is Religiosity?
However here below is an interesting presentation.