Sure Adh-Dhaariyat

51:46

وَقَوْمَ نُوحٍۢ مِّن قَبْلُ ۖ إِنَّهُمْ كَانُوا۟ قَوْمًۭا فَٰسِقِينَ

Und (Wir vernichteten) zuvor (auch) das Volk Nuhs; gewiß, sie waren ein Volk von Frevlern.

Tafsir 51:46

And I destroyed the people of Noah through flooding before these who have been mentioned. They were a people who left the obedience of Allah, so they deserved His punishment.