Surah Al-Anfaal

8:52

كَدَأْبِ ءَالِ فِرْعَوْنَ ۙ وَٱلَّذِينَ مِن قَبْلِهِمْ ۚ كَفَرُوا۟ بِـَٔايَٰتِ ٱللَّهِ فَأَخَذَهُمُ ٱللَّهُ بِذُنُوبِهِمْ ۗ إِنَّ ٱللَّهَ قَوِىٌّۭ شَدِيدُ ٱلْعِقَابِ

[Theirs is] like the custom of the people of Pharaoh and of those before them. They disbelieved in the signs of Allah, so Allah seized them for their sins. Indeed, Allah is Powerful and severe in penalty.

Tafsir 8:52

These disbelievers were not the only ones to be punished this way; rather, it is Allah’s way of dealing with disbelievers in every time and place. The people of Pharaoh and the communities before them were also punished like this when they disbelieved in Allah’s words. Allah punished them for their sins with His might and power. Allah is Strong and cannot be overpowered or defeated. His punishment for those who go against Him is severe.