The Person alone is all this—work, austerity, Brahman, beyond death. One who knows this, hidden in the cave of the heart, cuts asunder the knot of ignorance here, my dear.
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.