Genesis 38, 39, 40: These chapters contrast the egregious immorality of Judah with the faithful loyalty of Joseph to His God.