7:164الأعراف
وَإِذْ قَالَتْ أُمَّةٌ مِّنْهُمْ لِمَ تَعِظُونَ قَوْمًا ٱللَّهُ مُهْلِكُهُمْ أَوْ مُعَذِّبُهُمْ عَذَابًا شَدِيدًا قَالُوا۟ مَعْذِرَةً إِلَىٰ رَبِّكُمْ وَلَعَلَّهُمْ يَتَّقُونَ
English Talal Itani · ClearQuran
And when a group of them said, “Why do you counsel a people whom Allah will annihilate, or punish with a severe punishment?” They said, “As an excuse to your Lord, and so that they may become righteous.”