He is sold into slavery in Egypt and quickly rises to a prominent and successful position managing the household of Potiphar, a military captain. He resists sexual advances from Potiphar's wife “day after day,”[5] protesting that he does not wish to betray Potiphar's trust. One day her advances become physical, and in his effort to escape, Joseph leaves his cloak behind.