Genesis Chapter 37 NASB
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. 35Then 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.
Genesis Chapter 38:1-30
1 And it came about at that time, that Judah departed from his brothers and visited a certain Adullamite, whose name was Hirah. 2 Judah saw there a daughter of a certain Canaanite whose name was Shua; and he took her and went in to her. 3 So she conceived and bore a son and he named him Er. 4 Then she conceived again and bore a son and named him Onan. 5 She bore still another son and named him Shelah; and it was at Chezib that she bore him. 6 Now Judah took a wife for Er his firstborn, and her name was Tamar. 7 But Er, Judah's firstborn, was evil in the sight of the Lord, so the Lord took his life. 8 Then Judah said to Onan, "Go in to your brother's wife, and perform your duty as a brother-in-law to her, and raise up offspring for your brother." 9 Onan knew that the offspring would not be his; so when he went in to his brother's wife, he wasted his seed on the ground in order not to give offspring to his brother. 10 But what he did was displeasing in the sight of the Lord; so He took his life also.
11 Then Judah said to his daughter-in-law Tamar, "Remain a widow in your father's house until my son Shelah grows up"; for he thought, "I am afraid that he too may die like his brothers." So Tamar went and lived in her father's house. 12 Now after a considerable time Shua's daughter, the wife of Judah, died; and when the time of mourning was ended, Judah went up to his sheepshearers at Timnah, he and his friend Hirah the Adullamite. 13 It was told to Tamar, "Behold, your father-in-law is going up to Timnah to shear his sheep." 14 So she removed her widow's garments and covered herself with a Or shawlveil, and wrapped herself, and sat in the gateway of Enaim, which is on the road to Timnah; for she saw that Shelah had grown up, and she had not been given to him as a wife. 15 When Judah saw her, he thought she was a harlot, for she had covered her face. 16 So he turned aside to her by the road, and said, "Here now, let me come in to you"; for he did not know that she was his daughter-in-law. And she said, "What will you give me, that you may come in to me?" 17 He said, therefore, "I will send you a young goat from the flock." She said, moreover, "Will you give a pledge until you send it?" 18 He said, "What pledge shall I give you?" And she said, "Your seal and your cord, and your staff that is in your hand." So he gave them to her and went in to her, and she conceived by him. 19 Then she arose and departed, and removed her veil and put on her widow's garments. 20 When Judah sent the young goat by his friend the Adullamite, to receive the pledge from the woman's hand, he did not find her. 21 He asked the men of her place, saying, "Where is the temple prostitute who was by the road at Enaim?" But they said, "There has been no temple prostitute here." 22 So he returned to Judah, and said, "I did not find her; and furthermore, the men of the place said, 'There has been no temple prostitute here.'" 23 Then Judah said, "Let her keep them, otherwise we will become a laughingstock. After all, I sent this young goat, but you did not find her." 24 Now it was about three months later that Judah was informed, "Your daughter-in-law Tamar has played the harlot, and behold, she is also with child by harlotry." Then Judah said, "Bring her out and let her be burned!" 25 It was while she was being brought out that she sent to her father-in-law, saying, "I am with child by the man to whom these things belong." And she said, "Please examine and see, whose signet ring and cords and staff are these?" 26 Judah recognized them, and said, "She is more righteous than I, inasmuch as I did not give her to my son Shelah." And he did not have relations with her again. 27 It came about at the time she was giving birth, that behold, there were twins in her womb. 28 Moreover, it took place while she was giving birth, one put out a hand, and the midwife took and tied a scarlet thread on his hand, saying, "This one came out first." 29 But it came about as he drew back his hand, that behold, his brother came out. Then she said, "What a breach you have made for yourself!" So he was named Perez. 30 Afterward his brother came out who had the scarlet thread on his hand; and he was named Zerah.