Sura Al-Ankaboot

29:39

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

Och Qarun och Farao och Haman [lät Vi gå under på liknande sätt]. Moses kom till dem med bevis [för sanningen], men i sitt högmod [vände de honom ryggen]; [Vårt straff] kunde de emellertid inte komma undan.

Tafsir 29:39

I destroyed Qarun when he oppressed the people of Moses, by sinking him together with his property into the ground. I destroyed Pharaoh and his minister, Haman, by drowning them in the sea. Moses had brought them clear miracles indicating his truthfulness, but they behaved arrogantly in the land of Egypt and were too proud to have faith in him. They could not be saved from My punishment by escaping from Me.