This is the way I see it using an analogy: your body is like a car. Your brain is like the main Central computer system that runs the car. Your mind is the driver.
The driver is not actually part of the car. Rather, the driver is a separate entity that’s put in the car. When the car fails via an accident or just age, the driver leaves the car and the car goes to the junkyard. And that includes its computer brain.
The driver gets a new car that is incorruptible and fit to be in the unseen realm and spend eternity with his creator
That’s a pretty good analogy, except the driver is the soul and individual consciousness, and when the driver leaves the car, it’s dead.