Surah Hud 11:116
فَلَوْلَا كَانَ مِنَ ٱلْقُرُونِ مِن قَبْلِكُمْ أُو۟لُوا۟ بَقِيَّةٍ يَنْهَوْنَ عَنِ ٱلْفَسَادِ فِى ٱلْأَرْضِ إِلَّا قَلِيلًا مِّمَّنْ أَنجَيْنَا مِنْهُمْ ۗ وَٱتَّبَعَ ٱلَّذِينَ ظَلَمُوا۟ مَآ أُتْرِفُوا۟ فِيهِ وَكَانُوا۟ مُجْرِمِينَ
So why were there not among the generations before you those of enduring discrimination forbidding corruption on earth - except a few of those We saved from among them? But those who wronged pursued what luxury they were given therein, and they were criminals.
Translation: Saheeh International
Tafsir
If only there had been among the generations past communities before you men possessing a remnant of good sense men of religion and virtue forbidding corruption in the earth this statement is intended to be a negation in other words ‘there never were such men among them’ except but a few of those whom mimman min is …
Excerpt from Tafsir al-Jalalayn, commentary on 11:116, via Quran.com. The reader has the full commentary and 9 more tafsirs.