Surah Al-Ahqaf

46:6

وَإِذَا حُشِرَ ٱلنَّاسُ كَانُوا۟ لَهُمْ أَعْدَآءًۭ وَكَانُوا۟ بِعِبَادَتِهِمْ كَٰفِرِينَ

And when the people are gathered [that Day], they [who were invoked] will be enemies to them, and they will be deniers of their worship.

Tafsir 46:6

And alongside not benefiting them in the world, when they are raised on the Day of Judgment, they will be enemies to those who used to worship them and disassociate themselves from them, and they will deny having any knowledge of their worshipping them.