Rav Yehuda said that Rav said: A person should never bring himself to a test, for David king of Israel brought himself to a test and stumbled. He said before Him: Master of the Universe, why does one say: God of Abraham, God of Isaac, and God of Jacob, but one does not say: God of David? He said: They were tested by Me, but you were not tested by Me. He said before Him: Master of the Universe, examine me and test me, as it is stated: “Examine me, O Lord, and test me, etc.” (Ps. 26:2).
אמר רב יהודה אמר רב לעולם אל יביא אדם עצמו לידי נסיון שהרי דוד מלך ישראל הביא עצמו לידי נסיון ונכשל אמר לפניו רבש"ע מפני מה אומרים אלהי אברהם אלהי יצחק ואלהי יעקב ואין אומרים אלהי דוד אמר אינהו מינסו לי ואת לא מינסית לי אמר לפניו רבש"ע בחנני ונסני שנאמר (תהלים כו, ב) בחנני ה' ונסני וגו'
He said: I will test you, and I will do a thing with you: to them I did not make it known, whereas to you I am making it known that I will test you with a matter of forbidden relations. Immediately: “And it came to pass at eventide that David arose from his bed, etc.” (2 Sam. 11:2).
אמר מינסנא לך ועבידנא מילתא בהדך דלדידהו לא הודעתינהו ואילו אנא קא מודענא לך דמנסינא לך בדבר ערוה מיד (שמואל ב יא, ב) ויהי לעת הערב ויקם דוד מעל משכבו וגו'
Rav Yehuda said: That he turned his nighttime bed into a daytime bed, and a halakha escaped him: There is a small organ in a person—if he satiates it, it is hungry; if he starves it, it is sated.
אמר רב יהודה שהפך משכבו של לילה למשכבו של יום ונתעלמה ממנו הלכה אבר קטן יש באדם משביעו רעב ומרעיבו שבע
“And he walked upon the roof of the king’s house, and from the roof he saw a woman bathing, and the woman was very beautiful to look upon” (2 Sam. 11:2). Bathsheba was washing her hair behind a wicker screen. Satan came and appeared to him as a bird. He shot an arrow at it; it split the screen, she was exposed, and he saw her.
(שמואל ב יא, ב) ויתהלך על גג בית המלך וירא אשה רוחצת מעל הגג והאשה טובת מראה מאד בת שבע הוה קא חייפא רישא תותי חלתא אתא שטן אידמי ליה כציפרתא פתק ביה גירא פתקה לחלתא איגליה וחזייה
Immediately: “And David sent and inquired about the woman, and one said: Is this not Bathsheba, the daughter of Eliam, the wife of Uriah the Hittite? And David sent messengers and took her, and she came to him and he lay with her, and she had purified herself from her impurity, and she returned to her house” (2 Sam. 11:3–4). And this is what is written: “You have examined my heart, You have visited me in the night, You have refined me, You will find nothing; let my thought [zamoti] not pass my mouth” (Ps. 17:3). He said: Would that a muzzle [zamama] had fallen into the mouth of the one who hates me, and I had not said such a thing!
מיד (שמואל ב יא, ג) וישלח דוד וידרוש לאשה ויאמר הלא זאת בת שבע בת אליעם אשת אוריה החתי וישלח דוד מלאכים ויקחה ותבא אליו וישכב עמה והיא מתקדשת מטומאתה ותשב אל ביתה והיינו דכתיב (תהלים יז, ג) בחנת לבי פקדת לילה צרפתני בל תמצא זמותי בל יעבר פי אמר איכו זממא נפל בפומיה דמאן דסני לי ולא אמר כי הא מילתא
Rava expounded: What is that which is written: “For the leader, of David. In the Lord I take refuge; how can you say to my soul: Flee to your mountain, bird” (Ps. 11:1)? David said before the Holy One, Blessed be He: Master of the Universe, forgive me for that sin, so that they will not say: Your mountain was driven away by a bird.
דרש רבא מאי דכתיב (תהלים יא, א) למנצח לדוד בה' חסיתי איך תאמרו לנפשי נודי הרכם צפור אמר דוד לפני הקב"ה רבש"ע מחול לי על אותו עון שלא יאמרו הר שבכם צפור נדדתו
Rava expounded: What is that which is written: “Against You, You alone, have I sinned, and done what is evil in Your eyes, so that You are justified when You speak and in the right when You judge” (Ps. 51:6)? David said before the Holy One, Blessed be He: It is revealed and known before You that had I wished to subdue my inclination, I would have subdued it; but I said: Let them not say that the servant defeated his Master.
דרש רבא מאי דכתיב (תהלים נא, ו) לך לבדך חטאתי והרע בעיניך עשיתי למען תצדק בדברך תזכה בשפטך אמר דוד לפני הקב"ה גליא וידיעא קמך דאי בעיא למכפייה ליצרי הוה כייפינא אלא אמינא דלא לימרו עבדא זכי למריה
Rava expounded: What is that which is written: “For I am ready for my rib [letzela], and my pain is continually before me” (Ps. 38:18)? Bathsheba daughter of Eliam was fit for David from the six days of Creation, but she came to him with pain. And so the school of Rabbi Yishmael taught: Bathsheba daughter of Eliam was fit for David, but he ate her unripe.
דרש רבא מאי דכתיב (תהלים לח, יח) כי אני לצלע נכון ומכאובי נגדי תמיד ראויה היתה בת שבע בת אליעם לדוד מששת ימי בראשית אלא שבאה אליו במכאוב וכן תנא דבי רבי ישמעאל ראויה היתה לדוד בת שבע בת אליעם אלא שאכלה פגה
Rava expounded: What is that which is written: “But at my stumbling they rejoiced and gathered; the abject gathered against me (and I did not know); they tore and did not cease [damu]” (Ps. 35:15)? David said before the Holy One, Blessed be He: Master of the Universe, it is revealed and known before You that if they had torn my flesh, my blood [dami] would not have flowed.
דרש רבא מאי דכתיב (תהלים לה, טו) ובצלעי שמחו ונאספו נאספו עלי נכים [ולא ידעתי] קרעו ולא דמו אמר דוד לפני הקב"ה רבש"ע גלוי וידוע לפניך שאם היו קורעין בשרי לא היה דמי שותת
And not only that, but when they are engaged in the four types of court-imposed death, they interrupt their study and say to me: David, one who has relations with a married woman—by what [means] is his death? I said to them: One who has relations with a married woman, his death is by strangulation, and he has a portion in the World to Come; but one who shames his fellow in public has no portion in the World to Come.
ולא עוד אלא בשעה שהם עוסקין בארבע מיתות ב"ד פוסקין ממשנתן ואומרים לי דוד הבא על אשת איש מיתתו במה אמרתי להם הבא על אשת איש מיתתו בחנק ויש לו חלק לעוה"ב אבל המלבין פני חבירו ברבים אין לו חלק לעולם הבא
Rav Yehuda said that Rav said: Even at the time of his illness David fulfilled the eighteen conjugal periods, as it is stated: “I am weary with my groaning; every night I make my bed swim; I melt my couch with my tears” (Ps. 6:7). And Rav Yehuda said that Rav said: David sought to worship idols, as it is stated: “And it came to pass, when David came to the top [rosh], where one worships God” (2 Sam. 15:32), and “rosh” means nothing but idol worship, as it is stated: “As for this image, its head [reishei] was of fine gold” (Dan. 2:32).
אמר רב יהודה אמר רב אפילו בשעת חליו של דוד קיים שמנה עשרה עונות שנאמר (תהלים ו, ז) יגעתי באנחתי אשחה בכל לילה מטתי בדמעתי ערשי אמסה ואמר רב יהודה אמר רב בקש דוד לעבוד ע"ז שנאמר (שמואל ב טו, לב) ויהי דוד בא עד הראש אשר ישתחוה שם לאלהים ואין ראש אלא ע"ז שנאמר (דניאל ב, לב) והוא צלמא רישיה די דהב טב
“Behold, Hushai the Archite came to meet him with his coat torn and earth upon his head” (2 Sam. 15:32). He said to David: Shall they say that a king like you worshipped idols? He said to him: Shall a king like me be killed by his son? Better that he worship idols and the name of Heaven not be desecrated in public.
(שמואל ב טו, לב) והנה לקראתו חושי הארכי קרוע כתנתו ואדמה על ראשו אמר לו לדוד יאמרו מלך שכמותך יעבוד ע"ז אמר לו מלך שכמותי יהרגנו בנו מוטב יעבוד ע"ז ואל יתחלל שם שמים בפרהסיא
He said: Why did you marry a beautiful captive woman? He said to him: The Merciful One permitted a beautiful captive woman. He said to him: Do you not expound juxtaposed verses? For juxtaposed to it is: “If a man has a stubborn and rebellious son” (Deut. 21:18)—whoever marries a beautiful captive woman will have a stubborn and rebellious son.
אמר מאי טעמא קנסיבת יפת תואר א"ל יפת תואר רחמנא שרייה א"ל לא דרשת סמוכין דסמיך ליה (דברים כא, יח) כי יהיה לאיש בן סורר ומורה כל הנושא יפת תואר יש לו בן סורר ומורה
Rabbi Dostai of Biri expounded: To what is David comparable? To a Samaritan peddler. David said before the Holy One, Blessed be He: Master of the Universe, “Who can discern errors?” (Ps. 19:13). (He said to him:) They are forgiven you. “Cleanse me from hidden faults”—they are forgiven you. “Keep back Your servant also from presumptuous sins”—they are forgiven you. “Let them not have dominion over me; then I shall be blameless” (Ps. 19:14)—that the Rabbis should not talk about me—it is forgiven you.
דרש ר' דוסתאי דמן בירי למה דוד דומה לסוחר כותי אמר דוד לפני הקב"ה רבש"ע (תהלים יט, יג) שגיאות מי יבין [א"ל] שביקי לך ומנסתרות נקני שביקי לך גם מזדים חשוך עבדך שביקי לך אל ימשלו בי אז איתם דלא לישתעו בי רבנן שביקי לך
“And I shall be innocent of great transgression”—that my offense not be written down. He said to him: It is impossible. If the yod that I took from Sarai stood and cried out for many years until Joshua came and I added it to him, as it is stated: “And Moses called Hoshea son of Nun Joshua” (Num. 13:16)—an entire section, all the more so!
ונקיתי מפשע רב שלא יכתב סרחוני אמר לו א"א ומה יו"ד שנטלתי משרי עומד וצווח כמה שנים עד שבא יהושע והוספתי לו שנאמר (במדבר יג, טז) ויקרא משה להושע בן נון יהושע כל הפרשה כולה עאכ"ו
“And I shall be innocent of great transgression”: He said before Him: Master of the Universe, forgive me for that entire sin. He said: Solomon your son is already destined to say in his wisdom: “Can a man take fire in his bosom and his clothes not be burned? Can one walk upon hot coals and his feet not be scorched? So is he who goes in to his neighbor’s wife; whoever touches her shall not go unpunished” (Prov. 6:27–29). He said to him: Is that man to be so utterly cast off? He said to him: Accept suffering upon yourself. He accepted it upon himself.
ונקיתי מפשע רב אמר לפניו רבש"ע מחול לי על אותו עון כולו אמר כבר עתיד שלמה בנך לומר בחכמתו (משלי ו, כז) היחתה איש אש בחיקו ובגדיו לא תשרפנה אם יהלך איש על הגחלים ורגליו לא תכוינה כן הבא על אשת רעהו לא ינקה כל הנוגע בה א"ל כל הכי נטרד ההוא גברא א"ל קבל עליך יסורין קבל עליו
Rav Yehuda said that Rav said: For six months David was afflicted with leprosy, and the Divine Presence departed from him, and the Sanhedrin separated from him. He was afflicted with leprosy, as it is written: “Purge me with hyssop, and I shall be clean; wash me, and I shall be whiter than snow” (Ps. 51:9). The Divine Presence departed from him, as it is written: “Restore to me the joy of Your salvation, and let a willing spirit uphold me” (Ps. 51:14). And the Sanhedrin separated from him, as it is written: “Let those who fear You return to me, etc.” (Ps. 119:79). Six months—from where do we derive it? As it is written: “And the days that David reigned over Israel were forty years:
אמר רב יהודה אמר רב ששה חדשים נצטרע דוד ונסתלקה הימנו שכינה ופירשו ממנו סנהדרין נצטרע דכתיב (תהלים נא, ט) תחטאני באזוב ואטהר תכבסני ומשלג אלבין נסתלקה הימנו שכינה דכתיב (תהלים נא, יד) השיבה לי ששון ישעך ורוח נדיבה תסמכני ופרשו ממנו סנהדרין דכתי' (תהלים קיט, עט) ישובו לי יראיך וגו' ששה חדשים מנלן דכתי' (מלכים א ב, יא) והימים אשר מלך דוד על ישראל ארבעים שנה
Original: Sanhedrin 107a on Sefaria, version “Wikisource Talmud Bavli” (Hebrew Wikisource), license CC BY-SA. The original is reproduced without changes to its content, only divided into segments. The English translation is a derivative work produced by machine (the Claude model) and is distributed under the license CC BY-SA 4.0.
Original with vowels (the “With vowels” checkbox): vocalization from Sefaria, version “William Davidson Edition – Vocalized Aramaic” (Koren), license CC BY-NC 4.0, aligned with the original used here.