Those are the ones who have purchased error [in exchange] for guidance, so their transaction has brought no profit, nor were they guided.
The Saheeh International Quran Translation
أُو۟لَٰٓئِكَ ٱلَّذِينَ ٱشْتَرَوُا۟ ٱلضَّلَٰلَةَ بِٱلْهُدَىٰ فَمَا رَبِحَت تِّجَٰرَتُهُمْ وَمَا كَانُوا۟ مُهْتَدِينَThose are the ones who have purchased error [in exchange] for guidance, so their transaction has brought no profit, nor were they guided.