(12:51) Said [the king to the women], "What was your condition when you sought to seduce Joseph?" They said, "Perfect is Allah! We know about him no evil." The wife of al-`Azeez said, "Now the truth has become evident. It was I who sought to seduce him, and indeed, he is of the truthful. (12:52) That is so al-`Azeez will know that I did not betray him in [his] absence and that Allah does not guide the plan of betrayers. (12:53) And I do not acquit myself. Indeed, the soul is a persistent enjoiner of evil, except those upon which my Lord has mercy. Indeed, my Lord is Forgiving and Merciful." (12:54) And the king said, "Bring him to me; I will appoint him exclusively for myself." And when he spoke to him, he said, "Indeed, you are today established [in position] and trusted." (12:55) [Joseph] said, "Appoint me over the storehouses of the land. Indeed, I will be a knowing guardian." (12:56) And thus We established Joseph in the land to settle therein wherever he willed. We touch with Our mercy whom We will, and We do not allow to be lost the reward of those who do good. (12:57) And the reward of the Hereafter is better for those who believed and were fearing Allah.