Ali 'Imran 3:188
لَا تَحْسَبَنَّ ٱلَّذِينَ يَفْرَحُونَ بِمَآ أَتَوا۟ وَّيُحِبُّونَ أَن يُحْمَدُوا۟ بِمَا لَمْ يَفْعَلُوا۟ فَلَا تَحْسَبَنَّهُم بِمَفَازَةٍ مِّنَ ٱلْعَذَابِ ۖ وَلَهُمْ عَذَابٌ أَلِيمٌ
La tahsabanna allatheenayafrahoona bima ataw wayuhibboona an yuhmadoobima lam yafAAaloo fala tahsabannahum bimafazatinmina alAAathabi walahum AAathabun aleem
And never think that those who rejoice in what they have perpetrated and like to be praised for what they did not do - never think them [to be] in safety from the punishment, and for them is a painful punishment.
Do not think of those who are delighted with what they did, and love to be praised for what they never did - do not think they are secure from the punishment. For them there is a painful punishment.