Sura Aal-i-Imraan

3:11

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

[Det skall gå för dem] som det gick för Faraos män och för deras föregångare; de påstod att Våra budskap var lögn och Gud straffade dem för deras synder; Gud straffar med stränghet.

Tafsir 3:11

The case of these disbelievers is like that of the people of Pharaoh, and those before them who disbelieved in Allah and denied His signs. As a result, Allah punished them for their sins – their wealth and children did not benefit them. Allah is severe in punishing those who disbelieve in Him and His signs.