12 Then his brothers went to pasture their father's flock in Shechem. 13 Israel said to Joseph, "Are not your brothers pasturing the flock in Shechem? Come, and I will send you to them." And he said to him, "I will go." 14 Then he said to him, "Go now and see about the welfare of your brothers and the welfare of the flock, and bring word back to me." So he sent him from the valley of Hebron, and he came to Shechem. 15 A man found him, and behold, he was wandering in the field; and the man asked him, "What are you looking for?" 16 He said, "I am looking for my brothers; please tell me where they are pasturing the flock." 17 Then the man said, "They have moved from here; for I heard them say, 'Let us go to Dothan.'" So Joseph went after his brothers and found them at Dothan.
18 When they saw him from a distance and before he came close to them, they plotted against him to put him to death. 19 They said to one another, "Here comes this dreamer! 20 "Now then, come and let us kill him and throw him into one of the pits; and we will say, 'A wild beast devoured him.' Then let us see what will become of his dreams!" 21 But Reuben heard this and rescued him out of their hands and said, "Let us not take his life." 22 Reuben further said to them, "Shed no blood. Throw him into this pit that is in the wilderness, but do not lay hands on him"--that he might rescue him out of their hands, to restore him to his father. 23 So it came about, when Joseph reached his brothers, that they stripped Joseph of his tunic, the varicolored tunic that was on him; 24 and they took him and threw him into the pit. Now the pit was empty, without any water in it.
25 Then they sat down to eat a meal. And as they raised their eyes and looked, behold, a caravan of Ishmaelites was coming from Gilead, with their camels bearing aromatic gum and balm and myrrh, on their way to bring them down to Egypt. 26 Judah said to his brothers, "What profit is it for us to kill our brother and cover up his blood? 27 "Come and let us sell him to the Ishmaelites and not lay our hands on him, for he is our brother, our own flesh." And his brothers listened to him. 28 Then some Midianite traders passed by, so they pulled him up and lifted Joseph out of the pit, and sold him to the Ishmaelites for twenty shekels of silver Thus they brought Joseph into Egypt.
29 Now Reuben returned to the pit, and behold, Joseph was not in the pit; so he tore his garments. 30 He returned to his brothers and said, "The boy is not there; as for me, where am I to go?" 31 So they took Joseph's tunic, and slaughtered a male goat and dipped the tunic in the blood; 32 and they sent the varicolored tunic and brought it to their father and said, "We found this; please examine it to see whether it is your son's tunic or not." 33 Then he examined it and said, "It is my son's tunic. A wild beast has devoured him; Joseph has surely been torn to pieces!" 34 So Jacob tore his clothes, and put sackcloth on his loins and mourned for his son many days. 35 Then all his sons and all his daughters arose to comfort him, but he refused to be comforted. And he said, "Surely I will go down to Sheol in mourning for my son." So his father wept for him. 36 Meanwhile, the Midianites sold him in Egypt to Potiphar, Pharaoh's officer, the captain of the bodyguard.