אָמַר רַב יְהוּדָה בְּרֵיהּ דְּרַב שְׁמוּאֵל בַּר שִׁילַת מִשְּׁמֵיהּ דְּרַב: מֵהֶסְפֵּדוֹ שֶׁל אָדָם נִיכָּר אִם בֶּן הָעוֹלָם הַבָּא הוּא, אִם לָאו. אִינִי? וְהָאֲמַר לֵיהּ רַב לְרַב שְׁמוּאֵל בַּר שִׁילַת: אַחֵים בְּהֶסְפֵּידָא, דְּהָתָם קָאֵימְנָא! לָא קַשְׁיָא: הָא — דִּמְחַמּוּ לֵיהּ וְחָאֵים. הָא — דִּמְחַמּוּ לֵיהּ וְלָא חָאֵים.
Rav Yehuda, son of Rav Shmuel bar Sheilat, said in the name of Rav: From a person’s eulogy it is apparent whether or not he has a share in the World-to-Come. If the listeners are pained and brought to tears during the eulogy, it is clear that the person was righteous. The Gemara asks: Is that so? Didn’t Rav say to Rav Shmuel bar Sheilat: Stir the hearts of those gathered during my eulogy, for I will be standing there and listening to your words? Even a person as great as Rav needed to give instructions about his eulogy. The Gemara answers: This is not difficult, for this statement, which maintains that those who merit a share in the World-to-Come can be identified by their eulogies, is referring to a situation in which they attempt to stir the listener and he is stirred; while that statement is referring to a situation in which they attempt to stir the listener and he is not stirred. That is an indication that the deceased person was not righteous.
וְעַתָּה֙ יִשְׂרָאֵ֔ל מָ֚ה יְהוָ֣ה אֱלֹהֶ֔יךָ שֹׁאֵ֖ל מֵעִמָּ֑ךְ כִּ֣י אִם־לְ֠יִרְאָה אֶת־יְהוָ֨ה אֱלֹהֶ֜יךָ לָלֶ֤כֶת בְּכָל־דְּרָכָיו֙ וּלְאַהֲבָ֣ה אֹת֔וֹ וְלַֽעֲבֹד֙ אֶת־יְהוָ֣ה אֱלֹהֶ֔יךָ בְּכָל־לְבָבְךָ֖ וּבְכָל־נַפְשֶֽׁךָ׃
And now, O Israel, what does the LORD your God demand of you? Only this: to revere the LORD your God, to walk only in His paths, to love Him, and to serve the LORD your God with all your heart and soul,
הִגִּ֥יד לְךָ֛ אָדָ֖ם מַה־טּ֑וֹב וּמָֽה־יְהוָ֞ה דּוֹרֵ֣שׁ מִמְּךָ֗ כִּ֣י אִם־עֲשׂ֤וֹת מִשְׁפָּט֙ וְאַ֣הֲבַת חֶ֔סֶד וְהַצְנֵ֥עַ לֶ֖כֶת עִם־אֱלֹהֶֽיךָ׃ (פ)
“He has told you, O man, what is good, And what the LORD requires of you: Only to do justice And to love goodness, And to walk modestly with your God;
