He hearkened not to her, so much as to be with her. Those that would be kept from harm, must keep themselves out of harm's way.
Related Commentaries of Genesis 39:10
Genesis 39:10
10 And it came to pass, as she spake to Joseph day by day, that he hearkened not unto her, to lie by her, or to be with her.