Sure Al-Qasas

28:58

وَكَمْ أَهْلَكْنَا مِن قَرْيَةٍۭ بَطِرَتْ مَعِيشَتَهَا ۖ فَتِلْكَ مَسَٰكِنُهُمْ لَمْ تُسْكَن مِّنۢ بَعْدِهِمْ إِلَّا قَلِيلًۭا ۖ وَكُنَّا نَحْنُ ٱلْوَٰرِثِينَ

Und wie (so) manche Stadt, die sich übermütig ihres Lebensunterhaltes erfreute, haben Wir vernichtet! Da sind nun ihre Wohnorte, die nach ihnen nicht mehr bewohnt wurden, bis auf wenige. Und Wir sind es, die Erben (all dessen) geworden sind.

Tafsir 28:58

And how many a city were there which were ungrateful for Allah’s blessings on them, then they exceeded the bounds in sins and disobedience, so I sent a punishment to them and destroyed them through it. So these are their dwellings in ruins, with people passing by them. They were not inhabited after those who lived in them, except for a few travellers. And it is I who will inherit the heavens, the earth and everyone in them.