And she advanced towards him , and had Joseph not perceived a sign from his Lord he too would have advanced towards her . Thus was Joseph shown a sign from his Lord that We might avert from him all evil and indecency , for indeed he was one of Our chosen servants .