22 Then Reuben said, “Do not shed blood! Throw him into this cistern in the wilderness; but do not lay a hand on him.” His purpose was to save him from their hands and restore him to his father.
23 So when Joseph came up to his brothers, they stripped him of his tunic, the long ornamented tunic he had on;
24 then they took him and threw him into the cistern. The cistern was empty; there was no water in it.
25 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.
26 Judah said to his brothers: “What is to be gained by killing our brother and concealing his blood?
27 Come, let us sell him to these Ishmaelites, instead of doing away with him ourselves. After all, he is our brother, our own flesh.” His brothers agreed.
28 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.