Surah Al-Haaqqa

69:9

وَجَآءَ فِرْعَوْنُ وَمَن قَبْلَهُۥ وَٱلْمُؤْتَفِكَٰتُ بِٱلْخَاطِئَةِ

And there came Pharaoh and those before him and the overturned cities with sin.

Tafsir 69:9

Pharaoh and the nations before him, and the communities that were punished by being turned upside down i.e. the people of Lot, all committed wrong acts in ascribing partners with Allah and sins.