What does Genesis 39:9 mean?
He’s put me in charge of everything he owns. The only thing off-limits is you, because you’re his wife. How could I do something so wrong and betray God?' Genesis 39:9 - Modern Text Bible
(Joseph makes it clear that sleeping with her would be a betrayal of both Potiphar and God.)