Sure Al-Ahqaf

46:6

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

Und wenn die Menschen versammelt werden, werden sie ihnen feind sein, und sie werden den von ihnen (empfangenen) Dienst verleugnen.

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.