12 His brothers had gone off to Shechem where they were pasturing their father's flocks. Israel said to Joseph, "Your brothers are with flocks in Shechem. Come, I want to send you to them." Joseph said, "I'm ready." 14 He said, "Go and see how your brothers and the flocks are doing and bring me back a report." He sent him off from the valley of Hebron to Shechem. 15 A man met him as he was wandering through the fields and asked him, "What are you looking for?" 16 "I'm trying to find my brothers. Do you have any idea where they are grazing their flocks?" 17 The man said, "They've left here, but I overheard them say, 'Let's go to Dothan.'" So Joseph took off, tracked his brothers down, and found them in Dothan.
18 They spotted him off in the distance. By the time he got to them they had cooked up a plot to kill him. The brothers were saying, "Here comes that dreamer. Let's kill him and throw him into one of these old cisterns; we can say that a vicious animal ate him up. We'll see what his dreams amount to." 21 Reuben heard the brothers talking and intervened to save him, "We're not going to kill him. No murder. Go ahead and throw him in this cistern out here in the wild, but don't hurt him." Reuben planned to go back later and get him out and take him back to his father. 23 When Joseph reached his brothers, they ripped off the fancy coat he was wearing, grabbed him, and threw him into a cistern. The cistern was dry; there wasn't any water in it.
25 Then they sat down to eat their supper. Looking up, they saw a caravan of Ishmaelites on their way from Gilead, their camels loaded with spices, ointments, and perfumes to sell in Egypt. Judah said, "Brothers, what are we going to get out of killing our brother and concealing the evidence? Let's sell him to the Ishmaelites, but let's not kill him - he is, after all, our brother, our own flesh and blood." His brothers agreed. 28 By that time the Midianite traders were passing by. His brothers pulled Joseph out of the cistern and sold him for twenty pieces of silver to the Ishmaelites who took Joseph with them down to Egypt.
29 Later Reuben came back and went to the cistern - no Joseph! He ripped his clothes in despair. Beside himself, he went to his brothers. "The boy's gone! What am I going to do!" 31 They took Joseph's coat, butchered a goat, and dipped the coat in the blood. They took the fancy coat back to their father and said, "We found this. Look it over - do you think this is your son's coat?" 33 He recognized it at once. "My son's coat - a wild animal has eaten him. Joseph torn limb from limb!" 34 Jacob tore his clothes in grief, dressed in rough burlap, and mourned his son a long, long time. His sons and daughters tried to comfort him but he refused their comfort. "I'll go to the grave mourning my son." Oh, how his father wept for him. 36 In Egypt the Midianites sold Joseph to Potiphar, one of Pharaoh's officials, manager of his household affairs.