God's judgement

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

§ Rabbi Kruspedai said in the name of Rabbi Yochanan: Three books are opened on Rosh HaShana: One of wholly wicked people, one of wholly righteous people, and one of people in the middle. The righteous are immediately written and sealed for life; the wicked are immediately written and sealed for death; and the people in the middle are suspended from Rosh HaShana until Yom Kippur. If they merit, they are written for life; if they do not merit, they are written for death.

וא"ר יצחק ד' דברים מקרעין גזר דינו של אדם אלו הן צדקה צעקה שינוי השם ושינוי מעשה צדקה דכתיב (משלי י, ב) וצדקה תציל ממות צעקה דכתיב (תהלים קז, כח) ויצעקו אל ה' בצר להם וממצוקותיהם יוציאם שינוי השם דכתיב (בראשית יז, טו) שרי אשתך לא תקרא את שמה שרי כי שרה שמה וכתיב וברכתי אותה וגם נתתי ממנה לך בן שינוי מעשה דכתיב (יונה ג, י) וירא האלקים את מעשיהם וכתיב (יונה ג, י) וינחם האלקים על הרעה אשר דבר לעשות להם ולא עשה

And Rabbi Yitzḥak said: A person’s sentence is torn up on account of four types of actions. These are: Giving charity, crying out in prayer, a change of one’s name, and a change of one’s deeds. An allusion may be found in Scripture for all of them: Giving charity, as it is written: “And charity delivers from death” (Proverbs 10:2); crying out in prayer, as it is written: “Then they cry to the Lord in their trouble, and G-d brings them out of their distresses” (Psalms 107:28); a change of one’s name, as it is written: “As for Sarai your wife, you shall not call her name Sarai, but Sarah shall her name be” (Genesis 17:15), and it is written there: “And I will bless her, and I will also give you a son from her” (Genesis 17:16); a change of one’s deeds for the better, as it is written: “And G-d saw their deeds” (Jonah 3:10), and it is written there: “And G-d repented of the evil, which G-d had said G-d would do to them, and G-d did not do it” (Jonah 3:10).

(ד) הַצּוּר֙ תָּמִ֣ים פָּעֳל֔וֹ כִּ֥י כָל־דְּרָכָ֖יו מִשְׁפָּ֑ט אֵ֤ל אֱמוּנָה֙ וְאֵ֣ין עָ֔וֶל צַדִּ֥יק וְיָשָׁ֖ר הֽוּא׃
(4) The Rock!—His deeds are perfect, Yea, all His ways are just; A faithful God, never false, True and upright is He.

(ו) ד"א הצור - התקיף. תמים פעלו - פעולתו שלימה עם כל באי העולם...

(ז) כי כל דרכיו משפט - יושב עם כל אחד ואחד ונותן לו את הראוי לו: אל אמונה - בעל פקדון:

(י) ד"א הצור - התקיף תמים פעלו - פעולתם של באי העולם שלימה לפניו: מתן שכרם של צדיקים ומאחר פורענותם של רשעים.

(יא) כי כל דרכיו משפט - למחר כשהוא יושב בדין עם כל אחד ואחד, ונותן לו את הראוי לו...

(יב) ואין עול - כשאדם נפטר מן העולם באים כל מעשיו ונפרעים לפניו ואומרים לו: כך עשית ביום פלוני, ואי אתה מאמין בדברים הללו? והוא אומר הן והן! והוא אומר לו חתום, שנא' (איוב לז) ביד כל אדם יחתום:

(יג) צדיק וישר הוא - והוא מצדיק את הדין ואומר: יפה דנתוני. וכן הוא אומר למען תצדק בדבריך תזכה בשפטיך.

(6) Variantly: "The Rock": "the Resolute." "Perfect is His work": His work is whole with all creatures, and His ways are not to be brought into question...

(7) Thus: "For all of His works are justice": He sits in judgment with everyone and gives him what he deserves. "a faithful G-d": trustworthy....

(10) Variantly: "The Rock": the resolute one. "Perfect is His work": The work of His creatures is "whole" before Him. He delays the reward of the righteous and He delays the punishment of the wicked....

(11) "For all of His ways are justice." In the future, when He sits in judgment with each one, He gives him what he deserves.

(12) "Without wrong": When a man departs from the world, all his deeds come and present themselves to him one by one, saying: "This is what you did on this and this day. Do you believe it?" The man: "Yes, I do." The deed: "Sign!" — and he signs, viz. (Iyyov 37:7): "He makes the hand of every man sign."

(13) "Righteous and just is He." He (the man) vindicates His judgment (of him), saying: "Correctly did You judge me," viz. (Psalms 51:6) "So that You are (found) righteous in Your words, vindicated in Your judgments."

וּמִדְּרַבִּי עֲקִיבָא נָמֵי אֵין מַזָּל לְיִשְׂרָאֵל. דְּרַבִּי עֲקִיבָא הַוְיָא לֵיהּ בְּרַתָּא, אָמְרִי לֵיהּ כַּלְדָּאֵי: הָהוּא יוֹמָא דְּעָיְילָה לְבֵי גְנָנָא, טָרֵיק לַהּ חִיוְיָא, וּמִיתָא. הֲוָה דָּאֵיג אַמִּילְּתָא טוּבָא. הָהוּא יוֹמָא שְׁקַלְתַּהּ לְמַכְבַּנְתָּא, דַּצְתַּהּ בְּגוּדָא, אִיתְרְמִי אִיתִּיב בְּעֵינֵיהּ דְּחִיוְיָא. לְצַפְרָא כִּי קָא שָׁקְלָה לַהּ, הֲוָה קָא סָרֵיךְ וְאָתֵי חִיוְיָא בָּתְרַהּ. אֲמַר לַהּ אֲבוּהּ: מַאי עֲבַדְתְּ? אֲמַרָה לֵיהּ בְּפַנְיָא אֲתָא עַנְיָא, קְרָא אַבָּבָא וַהֲווֹ טְרִידִי כּוּלֵּי עָלְמָא בִּסְעוּדְתָּא, וְלֵיכָּא דְּשָׁמְעֵיהּ. קָאֵימְנָא, שְׁקַלְתֵּיהּ לְרִיסְתָּנַאי דִּיהַבְתְּ לִי, יַהְבִתֵּיהּ נִיהֲלֵיהּ. אֲמַר לַהּ: מִצְוָה עֲבַדְתְּ. נְפַק רַבִּי עֲקִיבָא וּדְרַשׁ: ״וּצְדָקָה תַּצִּיל מִמָּוֶת״, וְלֹא מִמִּיתָה מְשׁוּנָּה, אֶלָּא מִמִּיתָה עַצְמָהּ.
And from that which transpired to Rabbi Akiva as well it can be derived that there is no constellation for the Jewish people, as Rabbi Akiva had a daughter, and Chaldean astrologers told him that on the same day that she enters the wedding canopy, a snake will bite her and she will die. She was very worried about this. On that day, her wedding day, she took the ornamental pin from her hair and stuck it into a hole in the wall for safekeeping, and it happened that it entered directly into the eye of the snake. In the morning, when she took the pin, the snake was pulled and came out with it. Her father Rabbi Akiva said to her: What did you do to merit being saved from the snake? She told him: In the evening a poor person came and knocked on the door, and everyone was preoccupied with the feast and nobody heard him. I stood and took the portion that you had given me and gave it to him. Rabbi Akiva said to her: You performed a mitzva, and you were saved in its merit. Rabbi Akiva went out and taught based on this incident that even though it is written: “And charity will save from death” (Proverbs 10:2), it does not mean that it will save a person only from an unusual death, but even from death itself.
אֲמַר לֵיהּ: וּמִי יָדְעִי כּוּלֵּי הַאי? וְהָא כְּתִיב: ״וְהַמֵּתִים אֵינָם יוֹדְעִים מְאוּמָה״! אֲמַר לֵיהּ: אִם קָרִיתָ — לֹא שָׁנִיתָ. אִם שָׁנִיתָ — לֹא שִׁלַּשְׁתָּ. אִם שִׁלַּשְׁתָּ — לֹא פֵּירְשׁוּ לְךָ. ״כִּי הַחַיִּים יוֹדְעִים שֶׁיָּמוּתוּ״ — אֵלּוּ צַדִּיקִים שֶׁבְּמִיתָתָן נִקְרְאוּ חַיִּים, שֶׁנֶּאֱמַר: ״וּבְנָיָהוּ בֶן יְהוֹיָדָע בֶּן אִישׁ חַי רַב פְּעָלִים מִקַּבְצְאֵל הוּא הִכָּה אֵת שְׁנֵי אֲרִאֵל מוֹאָב וְהוּא יָרַד וְהִכָּה אֶת הָאֲרִי בְּתוֹךְ הַבּוֹר בְּיוֹם הַשָּׁלֶג״.
Rabbi Yonatan said to him: Do the dead know so much? Isn’t it stated: “And the dead know nothing” (Ecclesiastes 9:5)? Rabbi Ḥiyya said to him: If you read the verse, you did not read it a second time, and if you read it a second time, you did not read it a third time, and if you read it a third time, they did not explain it to you properly. The meaning of the verse: “For the living know that they will die, and the dead know nothing and have no more reward, for their memory has been forgotten” (Ecclesiastes 9:5): For the living know that they will die, these are the righteous, who even in their death are called living. An allusion to this is as it is stated: “And Benayahu, son of Yehoyada, son of a valiant man of Kabze’el, who had done mighty deeds, he smote the two altar-hearths of Moab; he went down also and slew a lion in the midst of a pit in time of snow” (II Samuel 23:20).