Socrates in Phaedo In Phaedo, the entire text has something to do with the soul when somebody dies. Socrates explores the philosophical knowledge involves the separation of body and soul, the fear of death, and the proofs that address this fear.
According to Socrates, the right practice of philosophy is practicing for death and dying, and only this way can the soul be still exist with reason. Socrates bases his logic on the reasoning that death is the separation of the soul from the body. To be prepared for this occurrence, the person must be ready to accept the fact soul would still be alive after the death of humans.
The body is like a protective shelter for the soul and it's known to decay after death and the soul would leaves the body and lives eternally. Socrates realizes that and soul accumulates knowledge from the past and it's part of our lives and it's not limited by the mortality.
Therefore, to Socrates, who claims to be a philosopher, he learns to focus on the soul and not the body. Ultimately, the philosopher should stay away from the body because the body causes desires for foods, water, and more and therefore would distracts a person from attending to the soul.
Socrates goes on to explain that it is not possible to find any truth with the body and its senses, as the body is constantly being deceived in one way or another by what the body perceives. (65b) Through only the reasoning, one look passes the body and can realize the reality. Reasoning is most accurate when it is not hindered by distractions arises by the body's needs and senses and it's it why we should try separate from them, just as death does, the body from the soul.