Genesis 38:8-30 NIV

8 Then Judah said to Onan, "Lie with your brother's wife and fulfill your duty to her as a brother-in-law to produce offspring for your brother."1

References for Genesis 38:8

9 But Onan knew that the offspring would not be his; so whenever he lay with his brother's wife, he spilled his semen on the ground to keep from producing offspring for his brother.
10 What he did was wicked in the LORD's sight; so he put him to death also.2

References for Genesis 38:10

11 Judah then said to his daughter-in-law3 Tamar,4 "Live as a widow in your father's house5 until my son Shelah6 grows up."7 For he thought, "He may die too, just like his brothers." So Tamar went to live in her father's house.

References for Genesis 38:11

      12 After a long time Judah's wife, the daughter of Shua,8 died. When Judah had recovered from his grief, he went up to Timnah,9 to the men who were shearing his sheep,10 and his friend Hirah the Adullamite11 went with him.

      References for Genesis 38:12

          13 When Tamar12 was told, "Your father-in-law is on his way to Timnah to shear his sheep,"13

          References for Genesis 38:13

              14 she took off her widow's clothes,14 covered herself with a veil15 to disguise herself, and then sat down16 at the entrance to Enaim, which is on the road to Timnah.17 For she saw that, though Shelah18 had now grown up, she had not been given to him as his wife.

              References for Genesis 38:14

                  15 When Judah saw her, he thought she was a prostitute,19 for she had covered her face.

                  References for Genesis 38:15

                  16 Not realizing20 that she was his daughter-in-law,21 he went over to her by the roadside and said, "Come now, let me sleep with you."22 "And what will you give me to sleep with you?"23 she asked.

                  References for Genesis 38:16

                  17 "I'll send you a young goat24 from my flock," he said. "Will you give me something as a pledge25 until you send it?" she asked.

                  References for Genesis 38:17

                  18 He said, "What pledge should I give you?" "Your seal26 and its cord, and the staff27 in your hand," she answered. So he gave them to her and slept with her, and she became pregnant by him.28

                  References for Genesis 38:18

                  19 After she left, she took off her veil and put on her widow's clothes29 again.

                  References for Genesis 38:19

                      20 Meanwhile Judah sent the young goat by his friend the Adullamite30 in order to get his pledge31 back from the woman, but he did not find her.

                      References for Genesis 38:20

                          21 He asked the men who lived there, "Where is the shrine prostitute32 who was beside the road at Enaim?" "There hasn't been any shrine prostitute here," they said.

                          References for Genesis 38:21

                          22 So he went back to Judah and said, "I didn't find her. Besides, the men who lived there said, 'There hasn't been any shrine prostitute here.' "
                          23 Then Judah said, "Let her keep what she has,33 or we will become a laughingstock.34 After all, I did send her this young goat, but you didn't find her."

                          References for Genesis 38:23

                          24 About three months later Judah was told, "Your daughter-in-law Tamar is guilty of prostitution, and as a result she is now pregnant." Judah said, "Bring her out and have her burned to death!"35
                          25 As she was being brought out, she sent a message to her father-in-law. "I am pregnant by the man who owns these," she said. And she added, "See if you recognize whose seal and cord and staff these are."36

                          References for Genesis 38:25

                              26 Judah recognized them and said, "She is more righteous than I,37 since I wouldn't give her to my son Shelah.38" And he did not sleep with her again.

                              References for Genesis 38:26

                                  27 When the time came for her to give birth, there were twin boys in her womb.39

                                  References for Genesis 38:27

                                  28 As she was giving birth, one of them put out his hand; so the midwife40 took a scarlet thread and tied it on his wrist41 and said, "This one came out first."

                                  References for Genesis 38:28

                                      29 But when he drew back his hand, his brother came out,42 and she said, "So this is how you have broken out!" And he was named Perez.a43

                                      References for Genesis 38:29

                                        • a 38:29 - "Perez" means "breaking out."
                                          30 Then his brother, who had the scarlet thread on his wrist,44 came out and he was given the name Zerah.b45

                                          References for Genesis 38:30

                                            • b 38:30 - "Zerah" can mean "scarlet" or "brightness."