Surah Al-A'raf, Ayah 39 (7:39)
وَقَالَتۡ أُولَىٰهُمۡ لِأُخۡرَىٰهُمۡ فَمَا كَانَ لَكُمۡ عَلَيۡنَا مِن فَضۡلٖ فَذُوقُواْ ٱلۡعَذَابَ بِمَا كُنتُمۡ تَكۡسِبُونَ ٣٩
Arabic: King Fahd Complex Hafs text.
English translation
39. The first of them will say to the last of them: "You were not better than us, so taste the torment for what you used to earn."
Hilali and Khan (QuranEnc.com)