Sure Az-Zumar

39:41

إِنَّآ أَنزَلْنَا عَلَيْكَ ٱلْكِتَٰبَ لِلنَّاسِ بِٱلْحَقِّ ۖ فَمَنِ ٱهْتَدَىٰ فَلِنَفْسِهِۦ ۖ وَمَن ضَلَّ فَإِنَّمَا يَضِلُّ عَلَيْهَا ۖ وَمَآ أَنتَ عَلَيْهِم بِوَكِيلٍ

Gewiß, Wir haben für die Menschen das Buch mit der Wahrheit auf dich hinabgesandt. Wer sich nun rechtleiten läßt, der (tut das) zu seinem eigenen Vorteil; und wer in die Irre geht, der geht nur zu seinem eigenen Nachteil in die Irre. Und du bist nicht (als) Sachwalter über sie (eingesetzt).

Tafsir 39:41

I sent down to you, O Messenger, the Qur’ān for people with the truth for you to warn them. Whoever follows guidance then the benefit of his guidance is only for his own self. Allah does not benefit from his guidance as He is in no need of it. Whoever strays then the harm of his straying is to his own detriment. Allah is not harmed by his straying. You are not in charge of them so as to force guidance on them. Your duty is only to convey to them what you have been instructed to convey.