Aslam

Surah Al-A'raf — 7:5
فَمَا كَانَ دَعۡوَىٰهُمۡ إِذۡ جَآءَهُم بَأۡسُنَآ إِلَّآ أَن قَالُوٓاْ إِنَّا كُنَّا ظَٰلِمِينَ
Their only cry—when overwhelmed by Our torment—was, “We have indeed been wrongdoers.”

Commentary

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

Read Tafsir Ibn Kathir