Does the Joseph Story Have a Happy Ending?
(יג) וַיִּשְׂא֨וּ אֹת֤וֹ בָנָיו֙ אַ֣רְצָה כְּנַ֔עַן וַיִּקְבְּר֣וּ אֹת֔וֹ בִּמְעָרַ֖ת שְׂדֵ֣ה הַמַּכְפֵּלָ֑ה אֲשֶׁ֣ר קָנָה֩ אַבְרָהָ֨ם אֶת־הַשָּׂדֶ֜ה לַאֲחֻזַּת־קֶ֗בֶר מֵאֵ֛ת עֶפְרֹ֥ן הַחִתִּ֖י עַל־פְּנֵ֥י מַמְרֵֽא׃ (יד) וַיָּ֨שָׁב יוֹסֵ֤ף מִצְרַ֙יְמָה֙ ה֣וּא וְאֶחָ֔יו וְכָל־הָעֹלִ֥ים אִתּ֖וֹ לִקְבֹּ֣ר אֶת־אָבִ֑יו אַחֲרֵ֖י קָבְר֥וֹ אֶת־אָבִֽיו׃ (טו) וַיִּרְא֤וּ אֲחֵֽי־יוֹסֵף֙ כִּי־מֵ֣ת אֲבִיהֶ֔ם וַיֹּ֣אמְר֔וּ ל֥וּ יִשְׂטְמֵ֖נוּ יוֹסֵ֑ף וְהָשֵׁ֤ב יָשִׁיב֙ לָ֔נוּ אֵ֚ת כָּל־הָ֣רָעָ֔ה אֲשֶׁ֥ר גָּמַ֖לְנוּ אֹתֽוֹ׃ (טז) וַיְצַוּ֕וּ אֶל־יוֹסֵ֖ף לֵאמֹ֑ר אָבִ֣יךָ צִוָּ֔ה לִפְנֵ֥י מוֹת֖וֹ לֵאמֹֽר׃ (יז) כֹּֽה־תֹאמְר֣וּ לְיוֹסֵ֗ף אָ֣נָּ֡א שָׂ֣א נָ֠א פֶּ֣שַׁע אַחֶ֤יךָ וְחַטָּאתָם֙ כִּי־רָעָ֣ה גְמָל֔וּךָ וְעַתָּה֙ שָׂ֣א נָ֔א לְפֶ֥שַׁע עַבְדֵ֖י אֱלֹהֵ֣י אָבִ֑יךָ וַיֵּ֥בְךְּ יוֹסֵ֖ף בְּדַבְּרָ֥ם אֵלָֽיו׃
(13) His sons carried him to the land of Canaan, and buried him in the cave of the field of Machpelah, the field near Mamre, which Abraham had bought for a burial site from Ephron the Hittite. (14) After burying his father, Joseph returned to Egypt, he and his brothers and all who had gone up with him to bury his father. (15) When Joseph’s brothers saw that their father was dead, they said, “What if Joseph still bears a grudge against us and pays us back for all the wrong that we did him!” (16) So they sent this message to Joseph, “Before his death your father left this instruction: (17) So shall you say to Joseph, ‘Forgive, I urge you, the offense and guilt of your brothers who treated you so harshly.’ Therefore, please forgive the offense of the servants of the God of your father.” And Joseph was in tears as they spoke to him.
אביך צוה. שִׁנּוּ בַדָּבָר מִפְּנֵי הַשָּׁלוֹם, כִּי לֹא צִוָּה יַעֲקֹב כֵּן, שֶׁלֹּא נֶחֱשַׁד יוֹסֵף בְּעֵינָיו (בראשית רבה, יבמות ס"ה):
אביך צוה THY FATHER DID COMMAND — They altered the facts (they stated something that was false) for the sake of peace, for Jacob had given them no such command because Joseph was not suspect in his sight (Yevamot 65b)).
לאמר אביך צוה צוה שיאמרו ליוסף אביך צוה לנו שנאמר אליך מאלינו לא מצדו שאינו חושד אותך כלל אבל שאם ייראו אחיך נאמר אליך אלה הדברים:
לאמר אביך צוה, he commanded that we should say what we have to say as something that originated with us and not with him, as he did not think for a moment that you might want to avenge yourselves on us. However, he consented that if we were worried, we could take the initiative and express our concerns to you.
לפני מותו באותו הפרק צוה ולא היה לנו פנאי לדבר אליך. אז (יז) ויבך יוסף. בהזכירם את אביו ואת חבתו שלא חשדו:
לפני מותו, so closely before his death that we could not speak to you about this at that time. ויבך יוסף, when they mentioned their father and the fact that he had not thought him capable of holding a grudge and acting upon it

אביך צוה לפני מותו. הוא תמוה שהרי יוסף לא זזה ידו מאביו בשעת מותו. ואיך צוה והוא לא ידע. ונראה שהשכילו להבינו אשר במה שאמר בברכת יוסף ויפזו זרועי ידיו ששבח אותו שלא ירה חצים וקשת להממררים לו בזה צוה להגיד כי כן מבוקשו:

This is surprising since Yosef did not leave his father's side at the time of his death. How could Yaakov have commanded something that Yosef did not know? And it seems that Yosef's brothers were clever in understanding that Yaakov's blessing to Yosef was praise that he did not respond in violence to those who rebelled against him and based on this his brother's intuited this request.

תנו רבנן כיצד מרקדין לפני הכלה בית שמאי אומרים
§ The Sages taught: How does one dance before the bride, i.e., what does one recite while dancing at her wedding? Beit Shammai say:
כלה כמות שהיא ובית הלל אומרים כלה נאה וחסודה אמרו להן ב"ש לב"ה הרי שהיתה חיגרת או סומא אומרי' לה כלה נאה וחסודה והתורה אמרה (שמות כג, ז) מדבר שקר תרחק אמרו להם ב"ה לב"ש לדבריכם מי שלקח מקח רע מן השוק ישבחנו בעיניו או יגננו בעיניו הוי אומר ישבחנו בעיניו מכאן אמרו חכמים לעולם תהא דעתו של אדם מעורבת עם הבריות
One recites praise of the bride as she is, emphasizing her good qualities. And Beit Hillel say: One recites: A fair and attractive bride. Beit Shammai said to Beit Hillel: In a case where the bride was lame or blind, does one say with regard to her: A fair and attractive bride? But the Torah states: “Keep you from a false matter” (Exodus 23:7). Beit Hillel said to Beit Shammai: According to your statement, with regard to one who acquired an inferior acquisition from the market, should another praise it and enhance its value in his eyes or condemn it and diminish its value in his eyes? You must say that he should praise it and enhance its value in his eyes and refrain from causing him anguish. From here the Sages said: A person’s disposition should always be empathetic with mankind, and treat everyone courteously. In this case too, once the groom has married his bride, one praises her as being fair and attractive.