You can see this entire matter in the soul and the body, for the connection which the soul has to make with the body is the perfect, enduring connection that will exist after the resurrection. The essential intent of the creation is literally this: if Adam had not sinned, his body would have been pure and it would have been rectified in a single moment. However, after his sin, the impurity was in man’s body, and the soul cannot join with it in a perfect connection.
On the contrary, the soul leaves the body: this is death. The body is then alone and brings out all the evil contained in it, and that evil rules and holds sway until the body finishes bringing out all the evil it has to bring out. The body can then be rebuilt in purity. This will take place with the resurrection of the dead, when the body is rebuilt.
The soul will then enter and remain in the body without a flaw for ever and to all eternity, radiating light after light to it, until it ascends to the highest level suited to it. Even at the outset, when the soul was in the body before death, it also gave it a certain light. Indeed, the light which the soul puts into the body after the resurrection is in accordance with the light which the soul puts into it before death, for each one is purified and radiates according to his deeds.