Surah Al-Mulk, ayah 10

67:10

وَقَالُواْ لَوۡ كُنَّا نَسۡمَعُ أَوۡ نَعۡقِلُ مَا كُنَّا فِيٓ أَصۡحَٰبِ ٱلسَّعِيرِ ١٠

Waqālū law kunnā nasma'u aw na'qilu mā kunnā fī ashābis-sa'īr

And they will say, "If only we had been listening or reasoning, we would not be among the companions of the Blaze."