(א) וַיַּ֣רְא בִּלְעָ֗ם כִּ֣י ט֞וֹב בְּעֵינֵ֤י יְהוָה֙ לְבָרֵ֣ךְ אֶת־יִשְׂרָאֵ֔ל וְלֹא־הָלַ֥ךְ כְּפַֽעַם־בְּפַ֖עַם לִקְרַ֣את נְחָשִׁ֑ים וַיָּ֥שֶׁת אֶל־הַמִּדְבָּ֖ר פָּנָֽיו׃ (ב) וַיִּשָּׂ֨א בִלְעָ֜ם אֶת־עֵינָ֗יו וַיַּרְא֙ אֶת־יִשְׂרָאֵ֔ל שֹׁכֵ֖ן לִשְׁבָטָ֑יו וַתְּהִ֥י עָלָ֖יו ר֥וּחַ אֱלֹהִֽים׃ (ג) וַיִּשָּׂ֥א מְשָׁל֖וֹ וַיֹּאמַ֑ר נְאֻ֤ם בִּלְעָם֙ בְּנ֣וֹ בְעֹ֔ר וּנְאֻ֥ם הַגֶּ֖בֶר שְׁתֻ֥ם הָעָֽיִן׃ (ד) נְאֻ֕ם שֹׁמֵ֖עַ אִמְרֵי־אֵ֑ל אֲשֶׁ֨ר מַחֲזֵ֤ה שַׁדַּי֙ יֶֽחֱזֶ֔ה נֹפֵ֖ל וּגְל֥וּי עֵינָֽיִם׃ (ה) מַה־טֹּ֥בוּ אֹהָלֶ֖יךָ יַעֲקֹ֑ב מִשְׁכְּנֹתֶ֖יךָ יִשְׂרָאֵֽל׃ (ו) כִּנְחָלִ֣ים נִטָּ֔יוּ כְּגַנֹּ֖ת עֲלֵ֣י נָהָ֑ר כַּאֲהָלִים֙ נָטַ֣ע יְהוָ֔ה כַּאֲרָזִ֖ים עֲלֵי־מָֽיִם׃ (ז) יִֽזַּל־מַ֙יִם֙ מִדָּ֣לְיָ֔ו וְזַרְע֖וֹ בְּמַ֣יִם רַבִּ֑ים וְיָרֹ֤ם מֵֽאֲגַג֙ מַלְכּ֔וֹ וְתִנַּשֵּׂ֖א מַלְכֻתֽוֹ׃ (ח) אֵ֚ל מוֹצִיא֣וֹ מִמִּצְרַ֔יִם כְּתוֹעֲפֹ֥ת רְאֵ֖ם ל֑וֹ יֹאכַ֞ל גּוֹיִ֣ם צָרָ֗יו וְעַצְמֹתֵיהֶ֛ם יְגָרֵ֖ם וְחִצָּ֥יו יִמְחָֽץ׃ (ט) כָּרַ֨ע שָׁכַ֧ב כַּאֲרִ֛י וּכְלָבִ֖יא מִ֣י יְקִימֶ֑נּוּ מְבָרֲכֶ֣יךָ בָר֔וּךְ וְאֹרְרֶ֖יךָ אָרֽוּר׃ (י) וַיִּֽחַר־אַ֤ף בָּלָק֙ אֶל־בִּלְעָ֔ם וַיִּסְפֹּ֖ק אֶת־כַּפָּ֑יו וַיֹּ֨אמֶר בָּלָ֜ק אֶל־בִּלְעָ֗ם לָקֹ֤ב אֹֽיְבַי֙ קְרָאתִ֔יךָ וְהִנֵּה֙ בֵּרַ֣כְתָּ בָרֵ֔ךְ זֶ֖ה שָׁלֹ֥שׁ פְּעָמִֽים׃
(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! (6) Like palm-groves that stretch out, Like gardens beside a river, Like aloes planted by the LORD, Like cedars beside the water; (7) Their boughs drip with moisture, Their roots have abundant water. Their king shall rise above Agag, Their kingdom shall be exalted. (8) God who freed them from Egypt Is for them like the horns of the wild ox. They shall devour enemy nations, Crush their bones, And smash their arrows. (9) They crouch, they lie down like a lion, Like the king of beasts; who dare rouse them? Blessed are they who bless you, Accursed they who curse you! (10) Enraged at Balaam, Balak struck his hands together. “I called you,” Balak said to Balaam, “to damn my enemies, and instead you have blessed them these three times!
One who enters a synagogue says: "How goodly are thy tents, O Jacob, Thy dwellings, O Israel!" (Numbers 24:5). "But as for me, in the abundance of Thy lovingkindness will I come into Thy house; I will bow down toward Thy holy temple in the fear of Thee." (Psalms 5:8)
When leaving, say: "O God, lead me in Thy righteousness because of them that lie in wait for me; Make Thy way straight before my face." (Psalms 5:10)
When I come to synagogue I begin with the verse "But as for me, in the abundance of Thy lovingkindness..." (Psalms 5:8) and I skip the first verse "How goodly are thy tents" (Numbers 24:5) because Balaam said it [first] and he said it as a curse as we find in Sanhedrin 105b, and this is not its place.
Levi Yitzchak of Berditchev (Poland, 1740–1809)
(Numbers 24:5) “How good are your tents, Yaakov, your dwellings, Israel.” This may best be understood in light of the sages urging us to set aside definitive hours each day for Torah study. (Avot 1:15), since 'Yaakov' is the name used for Israel when it is at low spiritual level, and 'Israel' denotes the name of the higher spiritual level. And this is the explanation: make your work an occasional preoccupation, and your Torah a fixed preoccupation.
