"And Pharaoh and those before him"—referring to those who denied the messengers—"and the overturned cities"—which are the villages of the people of Lot—"committed the sinful act," meaning: polytheism.
﴿وَجَاء فِرْعَوْن وَمن قبله﴾ مِمَّن كذب الرُّسُل ﴿والمؤتفكات﴾ وَهِيَ قُرَيَاتُ قَوْمِ لُوطٍ ﴿بِالْخَاطِئَةِ﴾ يَعْنِي: الشّرك