The ego part of your psyche you wrongly percieve as yourself, is the consciousness you formed throughout your life, formed by your memories, experiences and reactions, all which came to be through the neuronal ionic exchange that happened millions of times on your nervous system, this repeat is the true origin of said memories and experiences and is physical component in your brain as in, literally is matter inside of you, when you die this dies as well, even if you believe in esotheric/religious stuff, all that makes you, you will be gone, eareased forever, turned to dust, which is basically a scientific fact.
But don't worry, is not like your ego is shit anyway, everything you call "you" is just a tiny, weak and misguided, non mentioning disposable and replaceble portion of your mind, basically just the consciousness in charge (and the reason mental dissorders can cause dissociation and multiple personalities) of something much bigger, much darker, powerful and animalistic that is the totality of your brain process and its nervous terminals, the real you is something you and everyone else never truly met, so nobody is gonna miss it, just embrace oblivion, you won't even need to cope anymore once you're gone.