In the meantime, the men/traders from Midian took Joseph to Egypt and sold him to Potiphar, who was one of the king’s officials. He was the captain of the soldiers who protected the king.