After the churban of the second Beit HaMikdash, the Ten Harugei Malchut were given over because of the sale of Yosef, as Rabbi Yishmael heard from behind the curtain. The account here follows Me’am Loez. Rabbeinu Bachya learned from Yosef’s words, “Go up in peace to your father,” that they went up in peace to their Father in Heaven.