Genesis 38:29-30 Amplified Bible (AMP)

29. But he drew back his hand, and behold, his brother was born first. And she said, What a breaking forth you have made for yourself! Therefore his name was called Perez [breaking forth]. [Matt. 1:3.]

30. And afterward his brother who had the scarlet thread on his hand was born and was named Zerah [scarlet].

Genesis 38