Surah Ash-Shuraa 42:6
وَٱلَّذِينَ ٱتَّخَذُوا۟ مِن دُونِهِۦٓ أَوْلِيَآءَ ٱللَّهُ حَفِيظٌ عَلَيْهِمْ وَمَآ أَنتَ عَلَيْهِم بِوَكِيلٍ
And those who take as allies other than Him - Allāh is [yet] Guardian over them; and you, [O Muḥammad], are not over them a manager.
Translation: Saheeh International
Tafsir
And those who have taken besides Him namely idols as guardians God is watchful over them He keeps count of their deeds that He may requite them; and you are not a guardian over them in order to secure what is demanded of them your duty is only to deliver the Message.
Excerpt from Tafsir al-Jalalayn, commentary on 42:6, via Quran.com. The reader has the full commentary and 9 more tafsirs.