Genesis 38:26-28 (Darby)
26 And Judah acknowledged them, and said, She is more righteous than I, because I have not given her to Shelah my son. And he knew her again no more.
27 And it came to pass at the time of her delivery, that behold, twins were in her womb.
28 And it came to pass when she brought forth, that one stretched out his hand, and the midwife took it and bound round his hand a scarlet thread, saying, This came out first.
About Genesis 38: This chapter sits between Joseph’s story and the later history of Jacob’s family. It moves the focus from Joseph to his brother Judah. The setting is Canaan, where Judah leaves his brothers and marries a local woman. He has three sons. Two die because they are wicked in God’s eyes. Judah keeps his daughter-in-law Tamar as a widow, waiting for his third son Shelah to grow up. But he fears losing Shelah too, so he does not give her to him as the law requires. This is a failure of duty and faith. Read the study notes
3 verses · Compare in parallel · Read all of Genesis 38