Surah Al-Ahqaf, ayah 18

46:18

أُوْلَٰٓئِكَ ٱلَّذِينَ حَقَّ عَلَيۡهِمُ ٱلۡقَوۡلُ فِيٓ أُمَمٖ قَدۡ خَلَتۡ مِن قَبۡلِهِم مِّنَ ٱلۡجِنِّ وَٱلۡإِنسِۖ إِنَّهُمۡ كَانُواْ خَٰسِرِينَ ١٨

Ulā'ikal-ladhīna haqqa 'alayhimul-qawlu fī umamin qad khalat min qablihim minal-jinni wal-insi innahum kānū khāsirīn

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.