Surah Al-Kahf 18:55
وَمَا مَنَعَ ٱلنَّاسَ أَن يُؤْمِنُوٓا۟ إِذْ جَآءَهُمُ ٱلْهُدَىٰ وَيَسْتَغْفِرُوا۟ رَبَّهُمْ إِلَّآ أَن تَأْتِيَهُمْ سُنَّةُ ٱلْأَوَّلِينَ أَوْ يَأْتِيَهُمُ ٱلْعَذَابُ قُبُلًا
And nothing has prevented the people from believing when guidance came to them and from asking forgiveness of their Lord except that there [must] befall them the [accustomed] precedent of the former peoples or that the punishment should come [directly] before them.
Translation: Saheeh International
Tafsir
And nothing prevented people that is the disbelievers of Mecca from believing an yu’minū is after al-nāsa ‘people’ constitutes the second direct object clause when the guidance the Qur’ān came to them and from asking forgiveness of their Lord without that there should come upon them the precedent of the ancients …
Excerpt from Tafsir al-Jalalayn, commentary on 18:55, via Quran.com. The reader has the full commentary and 9 more tafsirs.