"The arrogance of the wicked kindles the poor. This refers to Lot who was caught with the people of Sodom. The tribes thought they had devised a plan, but they were caught in their own schemes. Rabbi Yudan said: The one who says 'the merciful One will forgive' is not forgiven until he appeases his friend.

The Holy One, blessed be He, said to the tribes: You sold your brother for food and drink, as it says, 'And they sat down to eat bread' (Genesis 37:25). Behold, your children will be sold in Shushan during a feast, as it says, 'And the king and Haman sat down to drink' (Esther 3:15). Rabbi Yissachar said: What if Joseph had not forgiven his brothers, as it says, 'It was not you who sent me here, but God' (Genesis 45:8)?

See how this is corrected for them! He who does not forgive his friend, even for a minor offense, is guilty of many sins. Rabbi Chanin said: The Holy One, blessed be He, said to the tribes: You said, 'Let us sell Joseph as a slave.' By your lives, you will be called slaves every year.

Rabbi Pinchas said in the name of Rabbi Hosea: The tribes caused their father's coat to be torn, and they were punished in Egypt, as it says, 'And they tore their clothes' (Genesis 44:13). Joseph caused the tribes to tear their clothes, and his descendant, Joshua, was punished, as it says, 'And Joshua tore his clothes' (Joshua 7:6)."