The Egyptian who bought him said to his wife, "Lodge him honourably, he may prove of benefit to us, or we may even adopt him as our son." Thus We established Joseph in the land, so that We might teach him the true meaning of events. God has power over all things. However, most people do not know this. 21 When he reached the prime of life We gave him wisdom and knowledge. Thus We reward those who are good. 22 Now the woman in whose house he was solicited him, and closed the doors on them. 'Come,' she said, 'take me!' 'God be my refuge,' he said. 'Surely my lord has given me a goodly lodging. Surely the evildoers do not prosper. 23 And certainly she made for him, and he would have made for her, were it not that he had seen the manifest evidence of his Lord; thus (it was) that We might turn away from him evil and indecency, surely he was one of Our sincere servants. 24 And they both raced towards the door, and the woman tore his shirt from behind, and they both found her husband at the door; she said, “What is the punishment of the one who sought evil with your wife, other than prison or a painful torture?” 25 (Joseph) said: "It was she who wanted to seduce me." And a witness from her family testified: "If the shirt is torn from the front then the woman is speaking the truth, and he is a liar. 26 but if his tunic has been torn from behind, then she is lying, and he is speaking the truth." 27 When the master saw that Joseph's shirt was torn from behind, he told his wife, "This is some of your womanly guile in which you are certainly skillful. 28 Joseph, overlook this: but you [wife], ask forgiveness for your sin, for you have done wrong." 29