Though he (- Iblîs) had no authority over them (for it is by their own wrong beliefs and evil deeds that mankind brings about their spiritual ruin). (It happened thus) so that We might distinguish those who believed in the Hereafter from those who were suffering from doubts about it. Indeed, your Lord is Watchful over and Preserver of everything.