And indeed she did desire him and he would have inclined to her desire , had he not seen the evidence of his Lord . Thus it was , that We might turn away from him evil and illegal sexual intercourse .