I am also terrified of death and have been since my 20s. My life sucked a lot too and I was also paradoxically suicidal, but ultimately would never follow through with something like that. I've only allayed some of this fear through dispensing with the hard materialist viewpoint of Dennet's kind (not surprised new atheists love him). I dont think consciousness is just software constructed on top of some biological base hardware. It would do away with free will because if we could understand all the mechanical processes that precede consciousness then we could explain all action. The main critique I agree with against hard materialism is qualia, if we were just software then we wojldn't really "feel," and so far we haven't come remotely close to developing feeling AI. Even if we were to replicate sense organs through technology, they would have to interact and form some integrative reasoning and imagery to approximate it.
Nietzsche's will to power gets to me sometimes, if we were truly living our same life over and over again there would really be no way to tell or ever 'break free' so to say. Ultimately we emerge from nothing and presumably return to nothing.
Solipsism is a fun exercise and a decent cope if you want to go that route. Even Decartes cogito ergo could be simulated, we could have every thought and experience in this world being simulated from the outside. Nietzsche said "I thini therefore I am" cant work because we don't know what "I" really means or is. We could be hooked up to perpetual experience machines. Taking drugs kinda reveals the fragile nature of the continuity of our consciousness.
I think if we could all find eternity in one moment then we would be satisfied with the life we live because time is relative anyways. We dont have to be immortal, I would love to have a 400 year life or something. We cant do that however, so if we could somehow compress our life into that then we could theoretically extract the same benefit. The only liberation I've gotten is strengthening my mind and imagination to where I can daydream living many millenia through different epochs. Art is a good anodyne to take you away from this world, but I do not wish to deny life. If time is infinite then there is also a ppssibility that we will be reconstructed exactly the same at some other instance. Maybe we're just one version of ourself that all exist simultaneously.
As for dualism, I'm not an absolutist but I think that consciousness is in the middle. We know that it's localized or somewhat mediated by the brain, but we also have scientific proof it's not as simple as that either. For now we wont be solving the problem anytime soon moreso under shitty capitalism.
As for religion, just make your own. Greek mythology is at least entertaining, henotheism would be cool. Perhaps pantheism is true and we are all plugged into some god consciousness. Maybe our consciousness is recycled through different creatures and humans and our imagination and dreams are just fragments of that.
The point is no one knows why or how we're here so dont let any one belief become your bias, there is plenty room for creativity and maybe even hope. As for me I just want to fuck a really hot chick or two before I die.