Surah Ash-Shura

42:6

وَٱلَّذِينَ ٱتَّخَذُوا۟ مِن دُونِهِۦٓ أَوْلِيَآءَ ٱللَّهُ حَفِيظٌ عَلَيْهِمْ وَمَآ أَنتَ عَلَيْهِم بِوَكِيلٍۢ

And those who take as allies other than Him - Allah is [yet] Guardian over them; and you, [O Muhammad], are not over them a manager.

Tafsir 42:6

Those who take idols besides Allah whom they align with and worship besides Allah, Allah lies in wait for them. He records their actions and He will recompense them for that. You, O Messenger, are not in charge of them and you will not be questioned about their actions. You are only one who conveys the message.