Genesis 38:29-30 English Revised Version (ERV)

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