It is written: “In his days Hiel the Bethelite built Jericho; with Abiram his firstborn he laid its foundation, and with Segub his youngest he set up its gates”
(1 Kings 16:34). Hiel was from
[the kingdom of] Jehoshaphat; Jericho was from Benjamin. Rather, merit is brought about through the meritorious and guilt through the guilty. And so it says: “With Abiram his firstborn he laid its foundation, and with Segub his youngest he set up its gates.” With Abiram his firstborn, he had no one from whom to learn; but with Segub, the wicked man had someone from whom to learn. Because they wanted to increase their wealth, a curse took hold of them and they kept collapsing, to fulfill what was said: “According to the word of the Lord, the God of Israel, which He spoke through Joshua son of Nun”
(1 Kings 16:34). It is written: “And Elijah the Tishbite, of the settlers of Gilead, said to Ahab: As the Lord, the God of Israel, lives, before Whom I stand, there shall be neither dew nor rain these years except by my word”
(1 Kings 17:1). And what does this have to do with that? Rather, the Holy One, Blessed be He, said to Elijah: This Hiel is an important man; go and pay him a visit
[of condolence]. He said to Him: I will not go. He said to him: Why? He said to Him: For I will go and they will say things that anger You, and I will not be able to bear it. He said to him: If they say something that angers Me, whatever you decree I will fulfill. He went and found them engaged with this verse: “And Joshua swore at that time, saying: Cursed before the Lord be the man who rises up and builds this city, Jericho; with his firstborn he shall lay its foundation and with his youngest he shall set up its gates”
(Josh. 6:26). He said: Blessed is the God of the righteous, Who fulfills the words of the righteous. And Ahab was there. Ahab said to them: And who is greater, Moses or Joshua? They said to him: Moses. He said to them: In the Torah of Moses it is written: “Beware lest your heart be enticed, and you turn aside and serve other gods and bow down to them”
(Deut. 11:16). And what is written after it? “And the anger of the Lord will flare against you, and He will shut up the heavens and there will be no rain”
(Deut. 11:17). And I have not left an idol in the world that I have not worshipped, and all the good things and comforts in the world come in my days. The words of Moses are not fulfilled, and the words of Joshua are fulfilled? Elijah said to him: If it is as you say—“As the Lord, the God of Israel, lives, before Whom I stand, there shall be neither dew nor rain these years except by my word.” When he heard this, he began to weep. This is what is written: “And it was, when Ahab heard these words, that he tore his garments, put sackcloth on his flesh, and fasted, and he lay in sackcloth and walked softly”
(1 Kings 21:27). How long did he fast? He fasted three hours: if he was accustomed to eat at the third
[hour], he ate at the sixth; if he was accustomed to eat at the sixth, he ate at the ninth. “And walked softly”—what is “softly”?
Rabbi Yehoshua ben Levi said: That he walked barefoot. It is written: “And the word of the Lord came to Elijah the Tishbite, saying: Have you seen how Ahab has humbled himself before Me?”
(1 Kings 21:28–29). The Holy One, Blessed be He, said to Elijah: See what a good gift I have given in My world: a person sins before Me greatly and repents, and I accept him. This is what is written: “Have you seen how Ahab has humbled himself before Me?”—Have you seen? Ahab has repented. “Because Ahab has humbled himself before Me, I will not bring the evil in his days; in his son’s days I will bring the evil upon his house”
(1 Kings 21:29).
כתוב בימיו בנה חיאל בית האלי את יריחו באבירם בכורו יסדה ובשגוב צעירו הציב דלתיה. חיאל מן יהושפט. יריחו מבנימן. אלא שמגלגלין זכות על ידי זכאי וחובה על ידי חייב. וכן הוא אומר באבירם בכורו יסדה ובשגוב צעירו הציב דלתיה. באבירם בכורו לא היה מאיין ללמד. ובשגוב הרשע היה לו מאיין ללמד. לפי שרצו לרבות את ממונן ושלטה בהן מאירה והיו מתמוטטין והולכין. לקיים מה שנאמר כדבר יי אלהי ישראל אשר דבר ביד יהושע בן נון. כתוב ויאמר אליהו התשבי מתושבי גלעד אל אחאב חי יי אלהי ישראל אשר עמדתי לפניו אם יהיה השנים האלה טל ומטר כי אם לפי דברי. וכי מה עניין זה אצל זה. אלא אמר הקדוש ברוך הוא לאליהו. הדין חיאל גברא רבא הוא. איזיל חמי ליה אפין. אמר ליה. לי נה מיזל. אמר ליה. למה. אמר ליה. דנא מיזל וינון אמרין מילין דמכעסין לך ולינה יכיל מיסבול. אמר ליה. ואין אמרין מילה דמכעסה לי כל מה דאת גזר אנא מקיים. אזל ואשכחון עסיקין בהן קרייא וישבע יהושע בעת ההיא לאמר ארור האיש לפני יי אשר יקום ובנה את העיר הזאת את יריחו בבכורו ייסדנה ובצעירו יציב דלתיה. אמר. בריך הוא אלההון דצדיקייא דמקיים מילי דצדיקא. והוה תמן אחאב. אמר לון אחאב. וכי מי גדול ממי משה או יהושע. אמרין ליה. משה. אמר לון. בתורתו שלמשה כתוב השמרו לכם פן יפתה לבבכם וסרתם ועבדתם אלהים אחרים והשתחויתם להם. ומה כתיב בתריה. וחרה אף יי בכם ועצר את השמים ולא יהיה מטר. ולא הינחתי עבודה זרה בעולם שלא עבדתי אותה. וכל טבן ונחמן דאית בעלמא אתון בדרי. מילוי דמשה לא קמן ומילוי דיהושע מקים. אמר ליה אליהו. אם כדבריך חי יי אלהי ישראל אשר עמדתי לפניו אם יהיה השנים האלה טל ומטר כי אם לפי דברי. כיון ששמע כן התחיל בוכה. הדא היא דכתיב ויהי כשמוע אחאב את הדברים האלה ויקרע את בגדיו וישם שק על בשרו ויצום וישכב בשק ויהלך אט. כמה נתענה. שלש שעות נתענה. אם היה למוד לוכל בשלש אכל בשש. אם למוד לוכל בשש אכל בתשע. ויהלך אט. מהו אט. רבי יהושע בן לוי אמר. שהיה מהלך יחף. כתיב ויהי דבר יי אל אליהו התשבי לאמר. הראית כי נכנע אחאב מלפניי. אמר הקדוש ברוך הוא לאליהו. ראה מנה טובה שנתתי בעולמי. אדם חוטא לפניי כמה ועושה תשובה ואני מקבלו. הדא היא דכתיב הראית כי נכנע אחאב מלפניי. חמית אחאב עבד תשובה. יען כי נכנע אחאב מפניי לא אביא הרעה בימיו בימי בנו אביא הרעה אל ביתו.