10. If the trial we face involves an inducement to evil, we should not regard the inducement to evil as coming from Allāh. We believe that evil should not be attributed to Allâh, due to His perfect mercy and wisdom. The Prophet said: “And evil is not attributable to You."
Allāh does not will anyone to sin, and He does not tempt us to sin. Let no man say when he is tempted, I am tempted of Allāh; for Allāh doesn't use evil to tempt others. The trial, not the sin, is His aim. Trials are designed to refine us as gold is refined by fire.