(Allah) said: “This (way of My sincere servants) is indeed a way that leads straight to Me.
I.e., “this is what I have willed” – namely, that Iblis (or Satan) should tempt man, but should
have no power to seduce those who are truly conscious of God. Thus, the Qur’an makes it clear
that despite his ostensible “rebellion” against his Creator. Satan fulfils a definite function in
God’s plan: he is the eternal tempter who enables man to exercise his God-given freedom of
between good and evil and, thus, to become a being endowed with moral free will.
Asad, Muhammad (1980). The Message of the Quran. http://www.islamicweblibrary.com/wp-content/uploads/2020/04/55877864-54484011-Message-of-Quran-Muhammad-Asad-Islam-Translation.pdf