She tried not once but many times. Joseph was appalled. Joseph didn't yield. Integrity is easy when there's no temptation. Obedience is easy when there's no seductive whisper.
Obedience is cheap when there's no price to be paid for obeying.
In costly situations obedience is rendered to God and integrity is maintained in us only by grace and by grit. Joseph can yield to Potiphar's wife without fear of being detected. Yet he doesn't think about this for so much as a second. We must be careful to note what Joseph's instantaneous response was not . I don't find you attractive.