Surah Hud, ayah 21

11:21

أُوْلَٰٓئِكَ ٱلَّذِينَ خَسِرُوٓاْ أَنفُسَهُمۡ وَضَلَّ عَنۡهُم مَّا كَانُواْ يَفۡتَرُونَ ٢١

Ulā'ikal-ladhīna khasirū anfusahum wadalla 'anhum mā kānū yaftarūn

Those are the ones who will have lost themselves, and lost from them is what they used to invent.