In the Torah reading וַיֵּשֶׁב Vayeshev (Genesis 37–40), the salacious downward spiral of Yehudah (Judah) is sharply contrasted with the upward rise of Yosef (Joseph). That’s despite Yosef’s brothers’ having betrayed him.
The parallel passage to Vayeshev (Amos 2:6–3:8) reveals how morality can go down a slippery slope to depravity if nothing stops it. Yosef was a living prophecy of the ultimate Favored Son of Israel — Messiah Yeshua (Christ Jesus) — Who would be rejected but effectively stop the moral slide of the nation and the world.