Saba 34:21
وَمَا كَانَ لَهُۥ عَلَيْهِم مِّن سُلْطَـٰنٍ إِلَّا لِنَعْلَمَ مَن يُؤْمِنُ بِٱلْـَٔاخِرَةِ مِمَّنْ هُوَ مِنْهَا فِى شَكٍّ ۗ وَرَبُّكَ عَلَىٰ كُلِّ شَىْءٍ حَفِيظٌ
Wama kana lahu AAalayhim minsultanin illa linaAAlama man yu/minu bil-akhiratimimman huwa minha fee shakkin warabbuka AAala kullishay-in hafeeth
And he had over them no authority except [it was decreed] that We might make evident who believes in the Hereafter from who is thereof in doubt. And your Lord, over all things, is Guardian.
He did not have any power over them, but for the reason that We should recognize the one who believes in the Hereafter as distinct from the one who is in doubt about it; and your Lord is Watchful over every thing.