@JBeukema,
You are not your mind.
It is the user interface you have into this world. Whatever problems it may have does not affect the soul itself. I use the term soul because you have couched the question in religious mythology already.
All your beliefs are stored in the mind. Including the ego, which is how you see yourself here.
At death, all that goes out the window. It belonged to what your were here, not what you are in reality.
x