Imam explains the matter through his theological works as following:
If your heart surrenders to these holy words, and has faith in them, this can be hoped that your deeds will be rewarded and all the traces of polytheism, Riya’, infidelity and hypocrisy will be wiped out from the face of your heart.
This profound faith is in accordance with reason and revelation, and there are no traces of determinism (jabr) present in it.
It is possible that some people who do not know the meaning, the basic principles and ingredients of determinism may mistake it as such, whereas it is not jabr but tawhid. Determinism is a kind of shirk; whereas tawhid is right guidance, determinism is misguidance.
This occasion is not proper for discussing determinism and freedom.
But those who fully understand this issue can appreciate the import of what I say.
Moreover, the Prophet (S) has asked us not to indulge in such discourses. Anyway, ask God Almighty, through supplication and humble entreaties all the time, especially in loneliness, to guide you and to illuminate your heart with the light of tawhid.
Ask Him to endow you with the vision of the hidden, the perception of the unity (in diversity)-the Unity of Divine Being, so that you may not attach importance to anything else and consider every other thing as insignificant and trifle.
Beseech His Holy Essence to make your actions pure and sincere, and lead you to the path of sincerity and love.
And if you have reached such a spiritual station that your prayers are responded and you can do something for this helpless creature of God, who has squandered his life in meaningless pursuits, devoid of any real purpose, hankering after desires and lusts, whose sins have sickened the heart to a point where no exhortation, advice, Quranic verse, or tradition of the Prophet (S), or argument or wise saying can have any effect, do pray for him; may be your prayer shall secure his deliverance, Imam further explained.
God never turns away a believer from His court, and He grants his prayers.
By ever remembering these things, which you already know and which are also not new to you, be heedful and sincere from within the heart, and, without ceasing, critically reevaluate your movements, pauses, and your behavior.
Read more:
Imam Khomeini advised about finding some remedy to cure spiritual sickness