40:12
ذَٰلِكُم بِأَنَّهُۥٓ إِذَا دُعِىَ ٱللَّهُ وَحْدَهُۥ كَفَرْتُمْ ۖ وَإِن يُشْرَكْ بِهِۦ تُؤْمِنُوا۟ ۚ فَٱلْحُكْمُ لِلَّهِ ٱلْعَلِىِّ ٱلْكَبِيرِ
dhālikum bi-annahu idhā duʿiya l-lahu waḥdahu kafartum wa-in yush'rak bihi tu'minū fal-ḥuk'mu lillahi l-ʿaliyi l-kabīri
[They will be told], ‘This is all because when God alone was invoked you rejected this, yet when others were associated with Him you believed [in them].’ Judgement belongs to God the Most High, the Most Great.
(It will be said): "This is because, when Allâh Alone was invoked (in worship) you disbelieved (denied), but when partners were joined to Him, you believed! So the judgement is only with Allâh, the Most High, the Most Great!"