Sure Hud

11:101

وَمَا ظَلَمْنَٰهُمْ وَلَٰكِن ظَلَمُوٓا۟ أَنفُسَهُمْ ۖ فَمَآ أَغْنَتْ عَنْهُمْ ءَالِهَتُهُمُ ٱلَّتِى يَدْعُونَ مِن دُونِ ٱللَّهِ مِن شَىْءٍۢ لَّمَّا جَآءَ أَمْرُ رَبِّكَ ۖ وَمَا زَادُوهُمْ غَيْرَ تَتْبِيبٍۢ

Nicht Wir haben ihnen Unrecht getan, sondern sie selbst haben sich Unrecht zugefügt. Ihre Götter, die sie anstatt Allahs anrufen, haben ihnen nichts genützt, als der Befehl deines Herrn kam, und sie richteten sie nur noch mehr zugrunde.

Tafsir 11:101

I did not wrong them by afflicting them with destruction, but they wronged their own souls by bringing them to the point of destruction when they disbelieved in Allah. The gods they used to worship besides Allah did not push back the punishment that came down on them when the command of your Lord, O Messenger, came for their destruction. These gods of theirs only increased them in loss and destruction.