Surah Al-'Ankabut, ayah 39

29:39

وَقَٰرُونَ وَفِرۡعَوۡنَ وَهَٰمَٰنَۖ وَلَقَدۡ جَآءَهُم مُّوسَىٰ بِٱلۡبَيِّنَٰتِ فَٱسۡتَكۡبَرُواْ فِي ٱلۡأَرۡضِ وَمَا كَانُواْ سَٰبِقِينَ ٣٩

Waqārūna wafir'awna wahāmāna walaqad jā'ahum mūsā bil-bayyināti fastakbarū fil-ardi wamā kānū sābiqīn

And [We destroyed] Qārūn and Pharaoh and Hāmān. And Moses had already come to them with clear evidences, and they were arrogant in the land, but they were not outrunners [of Our punishment].