Genesis 38:28

28 While she was in labor, one put out a hand; and the midwife took and bound on his hand a crimson thread, saying, "This one came out 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 Then Judah acknowledged them and said, "She is more in the right than I, since I did not give her to my son Shelah." And he did not lie with her again.
27 When the time of her delivery came, there were twins in her womb.
28 While she was in labor, one put out a hand; and the midwife took and bound on his hand a crimson thread, saying, "This one came out first."
29 But just then he drew back his hand, and out came his brother; and she said, "What a breach you have made for yourself!" Therefore he was named Perez.
30 Afterward his brother came out with the crimson thread on his hand; and he was named Zerah.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.