Surah Ali 'Imran, Ayah 188 (3:188)
لَا تَحۡسَبَنَّ ٱلَّذِينَ يَفۡرَحُونَ بِمَآ أَتَواْ وَّيُحِبُّونَ أَن يُحۡمَدُواْ بِمَا لَمۡ يَفۡعَلُواْ فَلَا تَحۡسَبَنَّهُم بِمَفَازَةٖ مِّنَ ٱلۡعَذَابِۖ وَلَهُمۡ عَذَابٌ أَلِيمٞ ١٨٨
Arabic: King Fahd Complex Hafs text.
English translation
188. Think not that those who rejoice in what they have done (or brought about), and love to be praised for what they have not done, - think not you that they are rescued from the torment, and for them is a painful torment.
Hilali and Khan (QuranEnc.com)