Imam Khomeini, the late founder of the Islamic, stressed through his theological works that sins deprive human beings from the mercy and blessings of God the Almighty.
Imam in his book “Combat with the self” stressed the bounties such as “Gardens beneath which rivers flow” (Q 58:22) are for those whose sins have not reached such an extent that they are entirely deprived of the mercy and blessings of God. Imam in this regard explains as following:
Beware that this is only for those whose sins have not reached such an extent that they are entirely deprived of the mercy and blessings of God the Almighty, those who yet have an essential merit for going to heaven.
God forbid that a man, due to the multitude of his sins he should be expelled and blocked from the presence of God the Almighty, and that he should be bereft of the divine mercy, so that there is no other way for him to remain forever in the fire of hell. God forbid that you should be bereft of divine mercy and blessings, and that you should be subject to His wrath, anger and chastisements. May your deeds, behavior and speech not be the means to the denial of grace, so that there is no way for you but eternal damnation.
Now, while you cannot bear to keep a hot stone in your hand for a minute, keep the fire of hell away! Keep these fires from the seminaries and from the clerical community. Keep disputes and strife far from your hearts. Behave well with people, and in company, and be compassionate and kind. Of course, you are not to be nice to sinners with regard to their sins and rebelliousness.
Tell him to his face of his ugly deeds and wrongdoing, and prohibit him from it, and keep yourselves from promoting anarchy and from rebellion. Behave well with the servants of God and the righteous. Show respect to the learned with regard to their knowledge, to those on the path of guidance with regard to their virtue, and to the ignorant and unlearned, for they are also the servants of God.
Have good behavior; be kind, honest and brotherly. Refine yourselves. You want to refine and guide the community, but how can one who is not able to reform and manage himself guide and manage others? Now there are only a few days left in the month of Sha‘ban, so try in these few days to repent and reform yourselves, and enter the blessed month of Ramadan with a healthy soul.