Dalil

Quran Al-'Ankabut 29:66

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

Translation

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