Surah Ya-Sin 36:31
أَلَمْ يَرَوْا۟ كَمْ أَهْلَكْنَا قَبْلَهُم مِّنَ ٱلْقُرُونِ أَنَّهُمْ إِلَيْهِمْ لَا يَرْجِعُونَ
Have they not considered how many generations We destroyed before them - that they to them will not return?
Translation: Saheeh International
Tafsir
Have they — that is those inhabitants of Mecca who said to the Prophet ‘You have not been sent by God!’ Q. 1343 — not seen not come to know the interrogative is meant rhetorically as an affirmative how many kam here is predicative as opposed to interrogative in other words it is to be understood as kathīran ‘many’; …
Excerpt from Tafsir al-Jalalayn, commentary on 36:31, via Quran.com. The reader has the full commentary and 9 more tafsirs.