The twins born to Judah & Tamar in Genesis 38 had very different descendents -- 4 generations down from Zarah the firstborn (w the red thread), it was the thief Aachan who went into the fire at Jericho.

Gen38:30 And afterward came out his brother, that had the scarlet thread upon his hand: and his name was called Zarah (H2226 - rising).

Josh7:1 The children of Israel committed a trespass in the accursed thing: for Achan, the son of Carmi, the son of Zabdi, the son of Zerah, of the tribe of Judah, took of the accursed thing: and the anger of the LORD was kindled against the children of Israel.

The other twin (2nd born) was Pharez, followed father-to-son by Esrom, Aram, Aminidab, Naason,
and Salmon who married Rahab and became father to Boaz the Redeemer of Ruth.

A prophetic heritage, you think?