Surah Saba 34:21
وَمَا كَانَ لَهُۥ عَلَيْهِم مِّن سُلْطَـٰنٍ إِلَّا لِنَعْلَمَ مَن يُؤْمِنُ بِٱلْـَٔاخِرَةِ مِمَّنْ هُوَ مِنْهَا فِى شَكٍّ ۗ وَرَبُّكَ عَلَىٰ كُلِّ شَىْءٍ حَفِيظٌ
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.
Translation: Saheeh International
Tafsir
And he did not have any warrant over them any power to sway them from Us but that We might know by this knowledge being made manifest him who believed in the Hereafter from him who was in doubt thereof and so requite each of the two accordingly. And your Lord is Preserver Watcher of all things.
Excerpt from Tafsir al-Jalalayn, commentary on 34:21, via Quran.com. The reader has the full commentary and 9 more tafsirs.