Imamthrough his famous book "an exposition on Forty Hadith" explains the matter as following:
And so, my dear, remember that you have a perilous journey ahead, for which the provisions of sound knowledge and fruitful action are needed.
The time of departure is unknown. Possibly, there is little time and opportunity left. No one knows when the call for departure will come and one would be forced to depart.
This prolonging of hope by you and me arises from self love and is the most masterly of the guiles of the accursed Satan.
Through it he distracts our attention from the Hereafter and keeps us from attending to its affairs.
And with the perils of the journey and the obstacles in the way of preparing for it, if we fail to repent or to return to God and if we fail to procure provisions for the journey, the appointed call shall come unexpectedly and send us unprepared and unprovided on the way, without any store of righteous deeds and useful knowledge which together make up the provisions of the Hereafterly journey.
More articles:
Imam Khomeini stressed need for acquisition of virtues and human nobilities
For even if we have performed good deeds, they are not pure and untainted. A thousand contaminations, each of which is enough to make them unacceptable to God, afflict them. If we acquired any knowledge, it was futile and fruitless for us, our learning being either nonsensical and absurd or itself a big impediment in the path of the Hereafter, Imam further explained.
Had the deeds that we have done and the knowledge that we have learnt been beneficial, they should have left some mark on us who have been in their pursuit for years and should have transformed our habits and morals.
Read more:
Imam Khomeini advised believers to fill their hearts with light of divine knowledge