Surah Al-An'am — Ayah 43 (6:43)
فَلَوۡلَآ إِذۡ جَآءَهُم بَأۡسُنَا تَضَرَّعُواْ وَلَٰكِن قَسَتۡ قُلُوبُهُمۡ وَزَيَّنَ لَهُمُ ٱلشَّيۡطَٰنُ مَا كَانُواْ يَعۡمَلُونَ ٤٣
English translation (Saheeh International)
Then why, when Our punishment came to them, did they not humble themselves? But their hearts became hardened, and Satan made attractive to them that which they were doing.
Brief commentary
If only they had humbled themselves before Allah, when His calamity came to them, and begged Allah to remove the calamity, then He would have shown them mercy. But they did not do that. Instead, their hearts became hard and they did not take notice and learn a lesson. Satan made the disbelief and sins that they were committing seem good to them, so they continued with those actions.