Allah, the Exalted, says:
"Verily, Allah will not change the (good) condition of a people as long as they do not change their state (of goodness) themselves (by committing sins and by being ungrateful and disobedient to Allah).'' (13:11)
"And be not like her who undoes the thread which she has spun, after it has become strong.'' (16:92)
"... lest they become as those who received the Scripture [the Taurat (Torah) and the Injeel (Gospel)] before (i.e., Jews and Christians), and the term was prolonged for them and so their hearts were hardened?'' (57:16)
"But that they did not observe it with the right observance.'' (57:27)
692. `Abdullah bin `Amr bin Al-`as (May Allah be pleased with him) reported: Messenger of Allah (sallallaahu ’alayhi wa sallam) said to me, "O `Abdullah! Do not be like so-and-so; he used to get up at night for optional prayer but abandoned it later.''
[Al-Bukhari and Muslim].
Commentary: This Hadith also stresses the same point, that is, man should be steadfast in his good doings. There should be no cessation in this respect, otherwise, he will unconsciously begin to incline to evil and, therefore, to the erosion of moral foundations of his character. Steadfastness in the observance of good ensures man's security against pitfalls and has Divine approval, too.