Then they took him and threw him into the well, which was dry.
While they were eating, they suddenly saw a group of Ishmaelites traveling from Gilead to Egypt. Their camels were loaded with spices and resins.
Judah said to his brothers, "What will we gain by killing our brother and covering up the murder?
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,
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. 1
References for Genesis 37:28
37.28 +2Ws 10.13; +1Ac 7.9.
When Reuben came back to the well and found that Joseph was not there, he tore his clothes in sorrow.
He returned to his brothers and said, "The boy is not there! What am I going to do?"
Then they killed a goat and dipped Joseph's robe in its blood.
They took the robe to their father and said, "We found this. Does it belong to your son?"
He recognized it and said, "Yes, it is his! Some wild animal has killed him. My son Joseph has been torn to pieces!"
Jacob tore his clothes in sorrow and put on sackcloth. He mourned for his son a long time.