(א) וַיַּ֣רְא בִּלְעָ֗ם כִּ֣י ט֞וֹב בְּעֵינֵ֤י יְהוָה֙ לְבָרֵ֣ךְ אֶת־יִשְׂרָאֵ֔ל וְלֹא־הָלַ֥ךְ כְּפַֽעַם־בְּפַ֖עַם לִקְרַ֣את נְחָשִׁ֑ים וַיָּ֥שֶׁת אֶל־הַמִּדְבָּ֖ר פָּנָֽיו׃ (ב) וַיִּשָּׂ֨א בִלְעָ֜ם אֶת־עֵינָ֗יו וַיַּרְא֙ אֶת־יִשְׂרָאֵ֔ל שֹׁכֵ֖ן לִשְׁבָטָ֑יו וַתְּהִ֥י עָלָ֖יו ר֥וּחַ אֱלֹהִֽים׃ (ג) וַיִּשָּׂ֥א מְשָׁל֖וֹ וַיֹּאמַ֑ר נְאֻ֤ם בִּלְעָם֙ בְּנ֣וֹ בְעֹ֔ר וּנְאֻ֥ם הַגֶּ֖בֶר שְׁתֻ֥ם הָעָֽיִן׃ (ד) נְאֻ֕ם שֹׁמֵ֖עַ אִמְרֵי־אֵ֑ל אֲשֶׁ֨ר מַחֲזֵ֤ה שַׁדַּי֙ יֶֽחֱזֶ֔ה נֹפֵ֖ל וּגְל֥וּי עֵינָֽיִם׃ (ה) מַה־טֹּ֥בוּ אֹהָלֶ֖יךָ יַעֲקֹ֑ב מִשְׁכְּנֹתֶ֖יךָ יִשְׂרָאֵֽל׃
(1) Now Balaam, seeing that it pleased the LORD to bless Israel, did not, as on previous occasions, go in search of omens, but turned his face toward the wilderness. (2) As Balaam looked up and saw Israel encamped tribe by tribe, the spirit of God came upon him. (3) Taking up his theme, he said: Word of Balaam son of Beor, Word of the man whose eye is true, (4) Word of him who hears God’s speech, Who beholds visions from the Almighty, Prostrate, but with eyes unveiled: (5) How fair are your tents, O Jacob, Your dwellings, O Israel!
אמר רבא מצוה להניחה בטפח הסמוך לרה"ר מאי טעמא רבנן אמרי כדי שיפגע במזוזה מיד רב חנינא מסורא אומר כי היכי דתינטריה אמר רבי חנינא בוא וראה שלא כמדת הקב"ה מדת בשר ודם מדת בשר ודם מלך יושב מבפנים ועם משמרין אותו מבחוץ מדת הקב"ה אינו כן עבדיו יושבין מבפנים והוא משמרן מבחוץ שנאמר (תהלים קכא, ה) ה' שומרך ה' צלך על יד ימינך
§ Rava says: It is a mitzva to place the mezuza in the handbreadth adjacent to the public domain. The Gemara asks: What is the reason for this? The Rabbis say that it is in order that one encounter the mezuza immediately upon one’s entrance to the house. Rav Ḥanina from Sura says: It is in order that the mezuza protect the entire house, by placing it as far outside as one can. The Gemara adds: Rabbi Ḥanina says: Come and see that the attribute of flesh and blood is not like the attribute of the Holy One, Blessed be He. The attribute of flesh and blood is that a king sits inside his palace, and the people protect him from the outside, whereas with regard to the attribute of the Holy One, Blessed be He, it is not so. Rather, His servants, the Jewish people, sit inside their homes, and He protects them from the outside. As it is stated: “The Lord is your keeper, the Lord is your shade upon your right hand” (Psalms 121:5).