When Joseph came up to his brothers, they stripped Joseph of his tunic, the ornamented tunic that he was wearing, and took him and cast him into the pit. The pit was empty; there was no water in it. Then they sat down to a meal. Looking up, they saw a caravan of Ishmaelites coming from Gilead, their camels bearing gum, balm, and ladanum to be taken to Egypt. Then Judah said to his brothers, “What do we gain by killing our brother and covering up his blood? Come, let us sell him to the Ishmaelites, but let us not do away with him ourselves. After all, he is our brother, our own flesh.” His brothers agreed. When Midianite traders passed by, they pulled Joseph up out of the pit. They sold Joseph for twenty pieces of silver to the Ishmaelites, who brought Joseph to Egypt.
The Midianites, meanwhile, sold him in Egypt to Potiphar, a courtier of Pharaoh and his chief steward.
From Parshat VaYeshev. From THE TANAKH: The New JPS Translation According to the Traditional Hebrew Text. Copyright 1985 by the Jewish Publication Society. Used by permission.