Sure Al-Haaqqa

69:9

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

Und es begingen Fir'aun und wer vor ihm war und die umgestürzten Städte Vergehen.

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.