Joseph had been taken to Egypt. Potiphar, one of Pharaoh’s Egyptian officials and captain of the guard, bought him from the Ishmaelites who had taken him there.
As they sat down to eat, they saw a caravan of Ishmaelites coming from Gilead. Their camels were carrying the materials for cosmetics, medicine, and embalming. They were on their way to take them to Egypt.
As the Midianite merchants were passing by, the brothers pulled Joseph out of the cistern. They sold him to the Ishmaelites for eight ounces of silver. The Ishmaelites took him to Egypt.