Surah Al-Ahqaf, Ayah 18
Quran 46:18 · The Wind-Curved Sandhills · Makki · Para 26 · Page 504
اُولٰٓىِٕكَ الَّذِیْنَ حَقَّ عَلَیْهِمُ الْقَوْلُ فِیْۤ اُمَمٍ قَدْ خَلَتْ مِنْ قَبْلِهِمْ مِّنَ الْجِنِّ وَالْاِنْسِ ؕ اِنَّهُمْ كَانُوْا خٰسِرِیْنَ ۟
Transliteration
Ola-ika allatheena haqqaAAalayhimu alqawlu fee umamin qad khalat min qablihim minaaljinni wal-insi innahum kanoo khasireen
Saheeh International
Those are the ones upon whom the word [i.e., decree] has come into effect, [who will be] among nations which had passed on before them of jinn and men. Indeed, they [all] were losers.
Al-Mukhtasar fi Tafsir
Those are the ones for whom punishment is established amongst the nations before them from the jinns and men. They were the losers, as they lost themselves and their children by entering the fire.
Tafsir Ibn Kathir (abridged)
Explains 46:17–46:20 together — read it on 46:17