36 But the traders from Midian sold Joseph to Potiphar in Egypt. Potiphar was one of Pharaoh's officials. He was the captain of the palace guard.