Surah Al-A'raaf, Verse 164
Translation — Sahih International
And when a community among them said, "Why do you advise [or warn] a people whom Allah is [about] to destroy or to punish with a severe punishment?" they [the advisors] said, "To be absolved before your Lord and perhaps they may fear Him."
Source
Kur'an-ı Kerim, A'râf Suresi 7:164
https://kuran.diyanet.gov.tr/mushaf/kuran-meal-2/7-suresi-164-ayet