Genesis 38:28

And it came to pass when she was in travail, that one put forth a hand, - so the midwife took and bound upon his hand a crimson thread, saying - This came first!

Treasury of Scripture Knowledge did not add