למנצח. זה שאמר הכתוב (במדבר כא יט) וממתנה נחליאל. ר' יהודה אומר מן המדבר זכו שניתן להם תורה על ידי משה רבינו שנאמר (שמות לא יח) ויתן אל משה. וממתנה נחליאל נחלו עבודה זרה ואמרו לעגל (שם לב ד) אלה אלקיך ישראל. מנחליאל במות משנחלו עבודה זרה בא עליהם מלאך המות שנאמר (במדבר יד לה) במדבר הזה יתמו. ומבמות הגיא שגרמו לאותו צדיק שנקבר בגיא. והוא שירמיה אמר להם (ירמיה ב כג) ראי דרכך בגיא. ורבנן אמרי ממתנה נחליאל נחלו להקב"ה לאלוה והוא נחל אותם לאומה. וממדבר מתנה שזכו לקבל את התורה מן המדבר. אמר דוד הואיל וכן הוא אני אזמר על שתיהן למנצח אל הנחילות. דבר אחר וממתנה נחליאל לא תאמר כך אלא ממתנה נחלתי לאל. בשביל הבאר שנתן להם הקב"ה היו אומרים שירה והיה להם המים [כנחל] שכל אשה שהיתה רוצה ללכת מבית אביה לבית בעלה היתה הולכת בספינה. וכן אמר דוד (תהלים קה מא) הלכו בציות נהר. אמרה כנסת ישראל מתוך שהבאר נתן לי מתנה נחלתי אותו. וכן הוא אומר (איכה ג כד) חלקי ה' אמרה נפשי. אמר להן הקב"ה אני חלקכם ואתם חלקי שנאמר (דברים לב ט) כי חלק ה' עמו. אמר דוד הואיל וכן הוא אני מזמר על נחלתי. אל הנחלה אינו אומר אלא אל הנחילות על הנחלה שנחלתם אותי ועל הנחלה שנחלתי אתכם. ומנין אתה למד שמן המתנה נחלוהו שעד שלא ישתו מן הבאר מה היו אומרים (שמות יז ז) היש ה' בקרבנו. מששתו אמרו (שם כד ז) כל אשר דבר ה' נעשה ונשמע. בשתי נחילות נחלנו אותך ונחלנו את התורה. וכן אמר דוד (תהלים קיט קיא) נחלתי עדותיך לעולם. וארץ צבי נחלתי שנאמר (ירמיה ג יט) ואתן לך ארץ חמדה נחלת צבי צבאות גוים. מהו צבאות שהכל צובין בה. משל למלך שהיה יושב על שלחנו והיה לו בנים הרבה והיה אוהב את הקטן והיה עושה לו מתנות והיה בה שדה אחת והיו הכל צובין בה. אמר להן זה הוא שלי. וכן הוא אומר (דברים לב ח) בהנחל עליון גוים. ולמי נתן חלקו לבנו הקטן. כך יעקב חבל נחלתו. וכתיב (עמוס ז ב) מי יקום יעקב כי קטון הוא. ואף בית המקדש נחלה וכן הוא אומר (במדבר כד ה) מה טובו אהליך יעקב. ומה טובתן כנחלים נטיו. מה הנחל הזה אדם יורד בו טמא ועולה טהור אף בית המקדש נכנס בו בעוונות ויוצא בלא עוונות. וכן משה אומר (דברים יב ט) כי לא באתם עד עתה אל המנוחה ואל הנחלה. מנוחה זו הארץ. נחלה זו בית המקדש. אמר לו דוד כל מה שנתת לנו טובים ונעימים הם שנאמר (תהלים טז ו) חבלים נפלו לי בנעימים. וכן הוא אומר (מיכה ז ח) אל תשמחי אויבתי לי כי נפלתי קמתי. אלולי שישבתי בחשך לא היה אור לי. אמר להם הקב"ה הצדקתם עליכם את הדין אני קורא לכם (ישעיה סא ג) אילי הצדק מטע ה' להתפאר:
To the choirmaster. This refers to the verse (Numbers 21:19), "From Mattanah to Nahaliel." Rabbi Yehuda says that from the wilderness they merited to receive the Torah through Moses, as it says (Exodus 31:18), "And He gave to Moses." From Nahaliel they inherited idolatry, and they said to the calf (Exodus 32:4), "This is your G-d, O Israel." From the deaths in Mattanah they received the angel of death upon them, as it says (Numbers 14:35), "In this wilderness they shall die." From the deaths in the valley that they caused, the righteous one buried in the valley was affected. Jeremiah said to them (Jeremiah 2:23), "See your way in the valley." The Sages say that from Nahaliel they inherited to G-d as a deity and He inherited them as a nation. From the wilderness they received the Torah. David said, "Since this is the case, I will sing of both to the choirmaster, to the inheritance." Another explanation is that instead of saying "from Nahaliel," one should say "from my inheritance, to G-d." Because of the well that G-d gave them, they would sing a song and they had the water [like a river] so that any woman who wanted to go from her father's house to her husband's house would go by boat. And so David said (Psalm 107: 31-32) "Let them give thanks to the Lord for his steadfast love, for his wondrous works to the children of man! Let them extol him in the congregation of the people, and praise him in the assembly of the elders." The Assembly of Israel said: "Because the well was given to me as a gift, I inherited it." And thus it says (Lamentations 3: 24) "My portion is the Lord, says my soul." G-d said to them, "I am your portion and you are my portion," as it says (Deuteronomy 32: 9) "For the Lord's portion is his people." David said, "Since this is the case, I will sing about my inheritance." Regarding inheritance, we only say "the inheritances" about the inheritance that you gave me and the inheritance that I gave you. And from where did we learn that they were given an inheritance from the well? Before they drank from the well, what did they say? (Exodus 17: 7) "Is the Lord among us or not?" After they drank, they said (Exodus 24: 7) "All that the Lord has spoken we will do, and we will be obedient." We inherited you in two inheritances, and we inherited the Torah. And so David said (Psalm 119: 111) "Your testimonies are my heritage forever." "And the land of beauty, My inheritance, as it is said (Jeremiah 3:19): 'And I gave you a beautiful land, the inheritance of the glorious hosts of nations.' What are the hosts which everything is hidden in them? It is similar to a king who sat at his table and had many sons, and he loved the youngest and gave him gifts, and they had one field and everything was hidden in it. He said to them, 'This is mine.' Similarly, it says (Deuteronomy 32:8): 'When the Most High gave nations their inheritance.' To whom did He give His portion? To His small child. So too Jacob inherited his portion. And it is written (Amos 7:2): 'Who will rise up for Jacob, for he is small?' Even the Temple is an inheritance, and so it says (Numbers 24:5): 'How good are your tents, Jacob, your dwelling places, Israel.' And how beautiful are they, like streams that branch out. Just as a person descends into a stream impure and emerges pure, so too the Temple is entered with sins and exited without them. And so Moses says (Deuteronomy 12:9): 'For you have not yet come to the resting place and the inheritance.' The resting place is the land, and the inheritance is the Temple. David said, 'All that You have given us is good and pleasant,' as it says (Psalm 16:6): 'The lines have fallen to me in pleasant places.' And so it says (Micah 7:8), "Do not rejoice over me, my enemy, for I have fallen but I will rise again. If I sit in darkness, the Lord is my light." The Holy One, blessed be He, said to them, "You have justified yourselves in the judgment, and I will call you (Isaiah 61:3), 'Eliezer, the righteousness of the plantings of the Lord, to glorify.'"
