Genesis 38:25-30
Genesis 38:25-30 ESV
As she was being brought out, she sent word to her father-in-law, “By the man to whom these belong, I am pregnant.” And she said, “Please identify whose these are, the signet and the cord and the staff.” Then Judah identified them and said, “She is more righteous than I, since I did not give her to my son Shelah.” And he did not know her again. When the time of her labor came, there were twins in her womb. And when she was in labor, one put out a hand, and the midwife took and tied a scarlet thread on his hand, saying, “This one came out first.” But as he drew back his hand, behold, his brother came out. And she said, “What a breach you have made for yourself!” Therefore his name was called Perez. Afterward his brother came out with the scarlet thread on his hand, and his name was called Zerah.