Surah Al-Baqarah, ayah 16

2:16

أُوْلَٰٓئِكَ ٱلَّذِينَ ٱشۡتَرَوُاْ ٱلضَّلَٰلَةَ بِٱلۡهُدَىٰ فَمَا رَبِحَت تِّجَٰرَتُهُمۡ وَمَا كَانُواْ مُهۡتَدِينَ ١٦

Ulā'ikal-ladhīnashtarawud-dalālata bil-hudā famā rabihat tijāratuhum wamā kānū muhtadīn

Those are the ones who have purchased error [in exchange] for guidance, so their transaction has brought no profit, nor were they guided.