Surah Al-Ankaboot

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.

Tafsir 29:18

O idolaters, if you deny what Muhammad (peace be upon him) brought, then nations before you also denied, such as the nation of Noah, and Aad and Thamud. It is only upon the Messenger to clearly convey, and he has conveyed what his Lord ordered him to convey to you.