الآية رقم (52) - ثُمَّ عَفَوْنَا عَنكُمِ مِّن بَعْدِ ذَلِكَ لَعَلَّكُمْ تَشْكُرُونَ

(52) - “Then We forgave you after that so perhaps you would be grateful.”

They committed a great sin another time, but Allah U forgave them as Allah U wants to preserve the essence of goodness in man, and open for them the door of repentance. So, they repented then they disobeyed then they repented and disobeyed. Every grave sin requires repentance from it as repentance will make a person stop doing the wrong action, and will repeatedly encourage him to rectify himself and to abandon the acts of disobedience. These acts lead to evil in the society, like stealing and taking the rights of others and killing and fornication and every evil did that harms people.  Repentance is the key to the rectification of society and Allah U says:

﴾إِنَّ الْحَسَنَاتِ يُذْهِبْنَ السَّيِّئَاتِ﴿

“For surely, good deeds remove evil deeds.” [Surah Hud: 114]