Now Joseph had been taken to Egypt. An Egyptian named Potiphar, an officer of Pharaoh and the captain of the guards, bought him from the Ishmaelites who had brought him there.
When Midianite traders passed by, his brothers pulled Joseph out of the pit and sold him for twenty pieces of silver to the Ishmaelites, who took Joseph to Egypt.
They sat down to eat a meal, and when they looked up, there was a caravan of Ishmaelites coming from Gilead. Their camels were carrying aromatic gum, balsam, and resin, going down to Egypt.