King James Version (KJV) - Genesis 38:28 >

And it came to pass, when she travailed, that [the one] put out [his] hand: and the midwife took and bound upon his hand a scarlet thread, saying, This came out first.

Berean Study Bible (BSB) - Genesis 38:28 >

And as she was giving birth, one of them put out his hand; so the midwife took a scarlet thread and tied it around his wrist. “This one came out first,” she announced.