First off...
First off, whatever blessings Allah has given to you must not be used to transgress His laws.” In reality, this part of the tradition points to the issue we are told that, “O' you who are incessantly transgressing - wake up! Why are you taking the blessings of Allah and using them in disobedience! Your life, wealth, all of the organs of your body, etc… are all blessings from Allah, and yet you use them to perform sins!
Truly this is something despicable!” The second point mentioned is, “When you commit a sin and Allah, through His patience and forbearance gives you the opportunity to repent and turn back to Him, do not use that occasion to feel proud and arrogant and think to yourself that you have done something good!” The third point mentioned is, “Those who have a strong affection for the Ahlu'l Bayt (as), are their Shi’a (true followers) and are continuously speaking about them, must be respected.” Definitely, it is through observing these commandments that one will have a righteous end.
A person does not know when he will leave this world, and thus how good it would be were he to die while performing righteous deeds within Masjidul haram or one of the sanctuaries of the A`immah (as)! Conversely, how bad it would be if he were to leave the world in a state of open disobedience to Allah (SwT)!
All of the great scholars feared their end and the actions that they would be performing at the time of death and thus, they always asked Allah (SwT) for a good end to come to them when they die. The reason for this being so crucial is that the most important thing must be the final page of our deed of records and what is written on it. Thus, we must always entrust ourselves to Allah (SwT), and if we fall prey to sins, we must immediately ask forgiveness for them! [^1]: Mizan al-hikmah, no.