In Genesis 38 we find the story of Judah being tricked into sleeping with his daughter-in-law. This pregnancy produced twins. What is interesting is the fruit from these two twins.
Perez was the ancestor of David and therefore in the direct line of Jesus.
Zerah, the other twin was the ancestor of Achan who stole goods from the defeat of Jericho and because of his sin Israel lost their second battle.
Feel free to leave a comment or insight.