Now Joseph was brought down to Egypt; and Potiphar, an Egyptian official of Pharaoh, the captain of the bodyguard, bought him from the Ishmaelites, who had brought him down there.
And they sat down to eat a meal. Then they lifted up their eyes and saw, and behold, a caravan of Ishmaelites was coming from Gilead, with their camels bearing aromatic gum and balm and myrrh, going to bring them down to Egypt.
Then some Midianite traders passed by, so they pulled him up and lifted Joseph out of the pit and sold Joseph to the Ishmaelites for twenty shekels of silver. Thus they brought Joseph into Egypt.