Surah An-Nahl

16:82

فَإِن تَوَلَّوْا۟ فَإِنَّمَا عَلَيْكَ ٱلْبَلَٰغُ ٱلْمُبِينُ

But if they turn away, [O Muhammad] - then only upon you is [responsibility for] clear notification.

Tafsir 16:82

If they turn away from faith and acceptance of what you have brought, then your duty, O Messenger, is only to convey what you have been instructed to in a clear manner. It is not your duty to make them accept guidance.