Surah Al-'Ankabut 29:18
وَإِن تُكَذِّبُوا۟ فَقَدْ كَذَّبَ أُمَمٌ مِّن قَبْلِكُمْ ۖ وَمَا عَلَى ٱلرَّسُولِ إِلَّا ٱلْبَلَـٰغُ ٱلْمُبِينُ
And if you [people] deny [the message] - already nations before you have denied. And there is not upon the Messenger except [the duty of] clear notification.
Translation: Saheeh International
Tafsir
But if you deny that is if you deny me O people of Mecca then many communities have denied before you that is before my time; and the messenger’s duty is only to communicate the Message clearly’. Both stories are meant to comfort the Prophet s. And regarding his people God exalted be He says
Excerpt from Tafsir al-Jalalayn, commentary on 29:18, via Quran.com. The reader has the full commentary and 9 more tafsirs.