Sure Al-A'raaf

7:5

فَمَا كَانَ دَعْوَىٰهُمْ إِذْ جَآءَهُم بَأْسُنَآ إِلَّآ أَن قَالُوٓا۟ إِنَّا كُنَّا ظَٰلِمِينَ

So war ihr Ausruf, als Unsere Gewalt über sie kam, nur, daß sie sagten: "Wir haben gewiß Unrecht getan."

Tafsir 7:5

All they could do when the punishment came down on them was to admit that they had done wrong through their disbelief in Allah.