The Egyptian who bought him instructed his wife: "House him honourably. He may be of use to us. We may even adopt him as a son." So, We firmly established Joseph in the land, and taught him the interpretation of dreams. God dominated in his affairs, though most men do not know. 21 And when he reached full manhood, We bestowed upon him the ability to judge [between right and wrong,] as well as [innate] knowledge: for thus do We reward the doers of good. 22 But she in whose house he was, sought to seduce him from his (true) self: she fastened the doors, and said: "Now come, thou (dear one)!" He said: "Allah forbid! truly (thy husband) is my lord! he made my sojourn agreeable! truly to no good come those who do wrong!" 23 For she desired him; and he would have taken her, but that he saw the proof of his Lord. So was it, that We might turn away from him evil and abomination; he was one of Our devoted servants. 24 They both ran to the door and, in the struggle, she tore his shirt at the back. They found her husband at the door. She cried, "Shall not the man who wished to violate your wife be thrown into prison or sternly punished?" 25 He [Yusuf (Joseph)] said: "It was she that sought to seduce me," - and a witness of her household bore witness (saying): "If it be that his shirt is torn from the front, then her tale is true and he is a liar! 26 And if his shirt is rent from behind, she tells a lie and he is one of the truthful. 27 And when [her husband] saw that his tunic was torn from behind, he said: "Behold, this is [an instance] of your guile, O womankind! Verily, awesome is your guile! 28 O Joseph! Turn away from this, and thou, (O woman), ask forgiveness for thy sin. Lo! thou art of the faulty. 29