Genesis 38:28-30 Revised Version 1885 (RV1885)

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

29. And it came to pass, as he drew back his hand, that, behold, his brother came out: and she said, Wherefore hast thou made a breach for thyself? therefore his name was called Perez.

30. And afterward came out his brother, that had the scarlet thread upon his hand: and his name was called Zerah.

Genesis 38