25 While they were eating, they suddenly saw a group of Ishmaelites travelling from Gilead to Egypt. Their camels were loaded with spices and resins.
26 Judah said to his brothers, “What will we gain by killing our brother and covering up the murder?
27 Let's sell him to these Ishmaelites. Then we won't have to hurt him; after all, he is our brother, our own flesh and blood.” His brothers agreed,
28 and when some Midianite traders came by, the brothers pulled Joseph out of the well and sold him for twenty pieces of silver to the Ishmaelites, who took him to Egypt.
29 When Reuben came back to the well and found that Joseph was not there, he tore his clothes in sorrow.
30 He returned to his brothers and said, “The boy is not there! What am I going to do?”
31 Then they killed a goat and dipped Joseph's robe in its blood.