Sure Fussilat

41:17

وَأَمَّا ثَمُودُ فَهَدَيْنَٰهُمْ فَٱسْتَحَبُّوا۟ ٱلْعَمَىٰ عَلَى ٱلْهُدَىٰ فَأَخَذَتْهُمْ صَٰعِقَةُ ٱلْعَذَابِ ٱلْهُونِ بِمَا كَانُوا۟ يَكْسِبُونَ

Was aber die Tamud angeht, so wollten Wir sie rechtleiten, sie aber liebten die Blindheit mehr als die Rechtleitung. Da ergriff sie der Donnerschlag der schmählichen Strafe für das, was sie erworben hatten.

Tafsir 41:17

As for the people of Saleh, the Thamūd, I guided them by making the path of truth clear to them, but they preferred deviance to guidance to the truth, so the humiliating punishment seized them because of the disbelief and sins they would commit.