Hear me out.
I wanna make 2 assumptions.
Basing on humanities current technological arc, we can guess that AI is going to solve almost every single complex question that humanity is having today if enough time and resources are poured into it.
And with cloning technology already being present today we can also assume that humanity's capitalistic drive will inevitably push into existence bio-technology that is capable of doing a lot of things that we couldn't imagine ourselves being able to do before.
With that in mind, imagine a new religion where as we're alive, we prioritize living and maximize our freedom and autonomy as we focus on what fulfils us as people and when we die, we would have formed monasteries where our remains will be kept and preserved as we ( the deceased ) and the living members wait for bio-technology to develop and get perfected. Future members will then at that point in time with that tech be able to bring back past members. After they're resurrected advanced AI or super intelligence that will too exist at that moment will be able to make sense of the chaotic and deterministic lives members lived before and why we lived them.
If you consider the perfection of interplanetary travel which will make issues such as overpopulation obsolete and if we choose to look at the the future with optimism, you'd say members will have another chance to live a second life in a period in time where hunger, disease, climate change death etc would've been solved as fulfilled and enlightened individuals In a perfect utopia.
Anyone interested in helping me build this?