The ear of the ear, the mind of the mind, the speech of speech, the breath of the breath, and the eye of the eye — the wise, freeing themselves from these and departing from this world, become immortal.
The sages, united with pure reason, renounce the results of their actions and, liberated from the cycle of birth, they attain a state of bliss.
So long as this soul does not know its real destination while dwelling in the body, it is not going to be liberated from the cycle of births and deaths. There is only one way to get rid of this wandering and that is to realise God while the human body is still there.