TT #62 · Parshas Vayechi · Passuk 50:07
So Joseph went up to bury his father; and with him went up all the officials of Pharaoh, the senior members of his court, and all of Egypt’s dignitaries.
Torah Temimah cites Sotah 9b.
English: “And Joseph went up.” With the measure by which a person measures, he is measured. Joseph merited to bury his father, and there was no brother greater than he; therefore Moses, who was greater than all Israel, merited to deal with him, as it is stated, “And Moses took the bones of Joseph with him.”
Category E — Analogy / measure-for-measure interpretation.
Method — The Gemara applies the principle that a person is treated according to the measure he used: Yosef buried his father, and therefore Moshe, the greatest of Israel, was privileged to carry Yosef’s bones.
Textual trigger — “Va-ya'al Yosef likbor et aviv” in Bereishis 50:7, compared with “va-yikach Moshe et atzmot Yosef imo” in Shemos 13:19.
Yosef’s attention to his father’s burial becomes the reciprocal merit that later allows Moshe to attend to Yosef’s burial.