Then his brothers went to pasture their father’s flock near Shechem. Israel (Jacob) said to Joseph, “Are not your brothers pasturing [the flock] at Shechem? Come, and I will send you to them.” And he said, “Here I am [ready to obey you].” Then Jacob said to him, “Please go and see whether everything is all right with your brothers and all right with the flock; then bring word [back] to me.” So he sent him from the Hebron Valley, and he went to Shechem.
Now a certain man found Joseph, and saw that he was wandering around and had lost his way in the field; so the man asked him, “What are you looking for?” He said, “I am looking for my brothers. Please tell me where they are pasturing our flocks.” Then the man said, “[They were here, but] they have moved on from this place. I heard them say, ‘Let us go to Dothan.’ ” So Joseph went after his brothers and found them at Dothan.
And when they saw him from a distance, even before he came close to them, they plotted to kill him. They said to one another, “Look, here comes this dreamer. Now then, come and let us kill him and throw him into one of the pits (cisterns, underground water storage); then we will say [to our father], ‘A wild animal killed and devoured him’; and we shall see what will become of his dreams!” Now Reuben [the eldest] heard this and rescued him from their hands and said, “Let us not take his life.” Reuben said to them, “Do not shed his blood, but [instead] throw him [alive] into the pit that is here in the wilderness, and do not lay a hand on him [to kill him]”—[he said this so] that he could rescue him from them and return him [safely] to his father. Now when Joseph reached his brothers, they stripped him of his tunic, the [distinctive] multicolored tunic which he was wearing; then they took him and threw him into the pit. Now the pit was empty; there was no water in it.
Then they sat down to eat their meal. When they looked up, they saw a caravan of Ishmaelites coming from Gilead [east of the Jordan], with their camels bearing ladanum resin [for perfume] and balm and myrrh, going on their way to carry the cargo down to Egypt. Judah said to his brothers, “What do we gain if we kill our brother and cover up his blood (murder)? Come, let us [instead] sell him to these Ishmaelites [and Midianites] and not lay our hands on him, because he is our brother and our flesh.” So his brothers listened to him and agreed. [Gen 22:24; 25:2] Then as the Midianite [and Ishmaelite] traders were passing by, the brothers pulled Joseph up and lifted him out of the pit, and they sold him to the Ishmaelites for twenty shekels of silver. And so they took Joseph [as a captive] into Egypt.