וְיָתֵ֛ד תִּהְיֶ֥ה לְךָ֖ עַל־אֲזֵנֶ֑ךָ וְהָיָה֙ בְּשִׁבְתְּךָ֣ ח֔וּץ וְחָפַרְתָּ֣ה בָ֔הּ וְשַׁבְתָּ֖ וְכִסִּ֥יתָ אֶת־צֵאָתֶֽךָ׃
너의 기구에 작은 삽을 더하여 밖에 나가서 대변을 통할 때에 그것으로 땅을 팔 것이요 몸을 돌이켜 그 배설물을 덮을지니
Ein Yaakov (Glick Edition)
Bar Kapara lectured: "What does the passage (Deut. 23, 14) And a spade shalt thou have with thy weapons, mean? Do not read it Azaynecha (weapon), but read it Az'necha (ears); i.e., if a man hear an unbecoming thing (Ib. b) he should put his finger in his ear." This is what R. Elazar meant, who said: "Why are the fingers of a man constructed peg-shaped?" What does he mean by this? Shall we assume that he asks why are they separated and not in one body? This is because every one is needed for its own purpose, for the master said: The smallest one is used for measuring the span; the next to it is used for Kemitza, the middle one is to be used in the cubit measure; the fourth from the little one (the one next to the thumb), is to be used whenever a finger-measure is mentioned; the thumb is to be used by priests for the sacrifice requirements. We must therefore say that he means to ask why are they slanting down peg-shaped? Because if one hear an unbecoming thing he should put his finger in his ear. In the college of R. Ishmael it was taught: Why is the entire ear hard and the attachment thereto soft? In case one hears an unbecoming thing he should be able to place the attachment into it [and prevent from hearing such things.] Our Rabbis were taught: Never shall a man permit his ears to listen to absurdities, because they will be burnt first of all other members.
Midrash Tanchuma
“When a camp goes out against your enemies, you shall beware of everything evil” (Devarim 23:10). There should be no levity among you so that you do not incur any liability. From whom should you learn? From Yiftach. What is written about him? “…and he was the son of a harlot…” (Shoftim 11:1) Rabban Shimon ben Gamliel said that she brought her sister-wife into her house, and our Rabbis say that she was really a harlot; and because there was some levity in him all of the people fell upon him. Therefore it is written “you shall beware of everything evil" and “If there is among you a man who is unclean…” These are Israel who became impure through idolatry, as it says “…scatter them afar like a menstruant; 'Go out,' say to it.” (Yeshayahu 30:22) “…he shall go outside the camp…” (Devarim 23:11) that they were exiled to Bavel. “And it shall be, towards evening…”(Devarim 23:12) the evening of the kingdoms, and the Holy One purifies them as it says “…he shall bathe in water…” (ibid.) and it is written “When the Lord shall have washed away the filth of the daughters of Zion…” (Yeshayahu 4:4) “…and when the sun sets…” (Devraim 23:12) When the King Messiah comes of whom it is written “…and his throne is like the sun before Me.” (Tehillim 89:37) “…he may come within the camp” (Devarim 23:12) These are Israel, entering into the Holy Temple. “And you shall have a designated place outside the camp…” (Devarim 23:13) this is the merit of Avraham. R. Pinchas said- “…so that you can go out there,” to Bavel. “And you shall keep a stake in addition to your weapons…” (Devarim 23:14) Nevuchadnezar demanded that they serve an idol and they said “…let it be known to you, O king, that we will not worship your god…” (Daniel 3:18) “…and you shall return and cover your excrement.” (Devarim 23:14) The covering of idolatry that was in Jerusalem. “For the Lord, your God, goes along in the midst of your camp…” (Devarim 23:15) The Holy One will be revealed to them immediately and saved them from the fire. “Therefore, your camp shall be holy…” (ibid.) Afterwards He will sanctify them as it says “And they shall call them the holy people, those redeemed by the Lord…” (Yeshayahu 62:12)
Midrash Tanchuma Buber
Another interpretation (of Deut. 3:23): I BESOUGHT <THE LORD>. This text is related (to Is. 30:19): INDEED, O PEOPLE IN ZION, INHABITANTS OF JERUSALEM, [YOU SHALL SURELY WEEP NO MORE. <HE WILL SURELY SHOW YOU COMPASSION (rt.: HNN)>…. ] What is written above on the matter (in Deut. 3:12)?15Tanh., Deut. 2:4. <…> AND ITS CITIES I GAVE {TO THE CHILDREN OF REUBEN AND TO THE CHILDREN OF GAD} [TO THE REUBENITES AND TO THE GADITES]. Moses taught <all> who come into the world that one should not say that, whereas he is dangerously ill, has made a will,16Gk.: diatheke. and divided all that he has. He should not say that, whereas he has made a will, he will no longer pray. Rather he should pray, because the Holy One does not disqualify the prayer of [any] creature. See here. Moses made a will, as stated (in Deut. 23:12): < … > AND ITS CITIES I GAVE TO THE REUBENITES AND TO THE GADITES [….: (vs. 14:) JAIR BEN MANASSEH <RECEIVED>…. (vs. 15:)TO MACHIR I GAVE GILEAD. (vs. 16:) AND TO THE REUBENITES AND THE GADITES I GAVE [….: (vs. 18:) THEN I CHARGED YOU AT THAT TIME, SAYING [….] (vs. 21:) I ALSO CHARGED JOSHUA [AT THAT TIME], SAYING: [Ergo, <Moses made> a will. Lest you say: He ceased and did not pray, the text reads (in vs. 23) I BESOUGHT THE LORD.]