When Joseph was taken down to Egypt, an Egyptian, Potiphar, an official of Pharaoh and his chief steward, bought him from the Ishmaelites who had brought him there.
Then they sat down to eat. Looking up, they saw a caravan of Ishmaelites coming from Gilead, their camels laden with gum, balm, and resin to be taken down to Egypt.
Midianite traders passed by, and they pulled Joseph up out of the cistern. They sold Joseph for twenty pieces of silver to the Ishmaelites, who took him to Egypt.