So back to Joseph.
I wondered after his dreams of he was a bragger or simply a truth teller. I think the latter. He is very righteous, big contrast with his brother Judah form the previous chapter.
He’s good, loved and successful as a slave in the house of Potiphar until he’s falsely accused of attempting to rape potiphar’s wife (who in fact was lusting after him) and thrown in jail.
Then he’s good, loved and successful in jail.
Strong contrast with the last chapter, numerous explicit references to the lord. The lord is with him, the lord is blessing him and those near him, the lord is behind everything.
No reference to the lord at all in the sorry story of Judah.