Genesis 38:28

28 As she was giving birth, one put his hand out; the midwife tied a red thread on his hand, saying, "This one came first."

Genesis 38:28 Meaning and Commentary

Genesis 38:28

And it came to pass when she travailed
Her birth throes came strong and quick upon her: that [the one] put out [his] hand;
which showed that she was like to have a difficult and dangerous time of it; that the birth was not like to be according to the usual and natural order, which may be considered as a correction for her sin: and the midwife took and bound upon his hand a scarlet thread, saying,
this came out first;
she tied this to his wrist, that she might know whose hand it was, and so which was the firstborn; which, to know was a matter of consequence, since to the firstborn there were some special and peculiar privileges.

Genesis 38:28 In-Context

26 Judah saw they were his. He said, "She's in the right; I'm in the wrong - I wouldn't let her marry my son Shelah." He never slept with her again.
27 When her time came to give birth, it turned out that there were twins in her womb.
28 As she was giving birth, one put his hand out; the midwife tied a red thread on his hand, saying, "This one came first."
29 But then he pulled it back and his brother came out. She said, "Oh! A breakout!" So she named him Perez (Breakout).
30 Then his brother came out with the red thread on his hand. They named him Zerah (Bright).
Published by permission. Originally published by NavPress in English as THE MESSAGE: The Bible in Contemporary Language copyright 2002 by Eugene Peterson. All rights reserved.