Potiphar put Joseph in charge of his house, his wife tried to seduce him, but Joseph resisted and she lied about it and poor Joseph was put in prison.