Surah Al-Ankaboot

29:66

لِيَكْفُرُوا۟ بِمَآ ءَاتَيْنَٰهُمْ وَلِيَتَمَتَّعُوا۟ ۖ فَسَوْفَ يَعْلَمُونَ

So that they will deny what We have granted them, and they will enjoy themselves. But they are going to know.

Tafsir 29:66

They return to their idolatry so that they can continue showing ingratitude for My favours upon them and so that they can carry on enjoying the beauty of the worldly life. They will soon know the evil punishment that awaits them when they die.