Genesis 38 is an odd digression in the Joseph narrative, and it shares some sordid misdeeds of Jacob’s family. Sexual sin (and other sin) has brought conflict and pain. Even so, God is able to deliver on the promise of his covenant through this family. Similarly, God can life to your marriage covenant, no matter your past. While sex beyond marriage brings brokenness, as the Holy Spirit grows self-control in us, he can heal our divisions.