Imam Hasan Al-’Askari (a.s.) said:
رَدُّ الْمَعْتادِ عَنْ عادَتِهِ كَالْمُعْجِزْ
Throwing off bad habits is like performing a wondrous act.1
Habit is one of the great divine favors because it facilitates difficult human tasks and automates a lot of complicated and necessary aspects of living (such as speaking, walking, etc).
When a bad habit is acquired, it becomes a dangerous addiction and very difficult to shed. So much so that Imam Hasan Al-’Askari (a.s.) has compared the shedding of an entrenched habit to an amazing or wondrous act.