Socrates said that philosophy is preparation for death and dying.
I have found this to be true, and I have died a few times myself.
Death and dying is a process for the living. For example, Kierkegaard suggest that in order to truly love another, the love we have of ourselves must first be destroyed.
I think that’s the kind of dying Socrates was talking about.