Devarim23:25

כִּי תָבֹא בְּכֶרֶם רֵעֶךָ וְאָכַלְתָּ עֲנָבִים כְּנַפְשְׁךָ שָׂבְעֶךָ וְאֶל־כֶּלְיְךָ לֹא תִתֵּן׃

When you come into your neighbour's vineyard, you may eat grapes as you please, until you are satisfied, but you shall not put any in your basket.

Devarim 23:25

כִּי תָבֹא בְּכֶרֶם

Devarim / Deuteronomy 23:25 · Remez

Devarim 23:25

כִּי תָבֹא בְּכֶרֶם רֵעֶךָ וְאָכַלְתָּ עֲנָבִים כְּנַפְשְׁךָ שָׂבְעֶךָ וְאֶל־כֶּלְיְךָ לֹא תִתֵּן׃

When you come into your neighbour's vineyard, you may eat grapes as you please, until you are satisfied, but you shall not put any in your basket.

Remez רֶמֶז

Grapes and secret

The same words can speak of simple work and of the deepest things. The masters see both in the vineyard.

Kitzur Ba'al HaTurim reads the neighboring verses: the vineyard beside the vow, and "do not put" beside the field. Agra DeKala: the vineyard is the secrets of the Torah. Wine (יַיִן), hidden in grapes, equals "secret" (סוֹד) in number. Eat according to the root of your soul and do not rely on your guesses alone.

How Kitzur Ba'al HaTurim and Agra DeKala explain it

Kitzur Ba'al HaTurim "When you come into your neighbor's vineyard" stands beside the vow

A hint at the words "Go around, go around, do not come near the vineyard": if one has vowed to be a nazir, let him not hire himself out for work in a vineyard. That is why the vineyard is put before the field, though it is not usually put first.

Kitzur Ba'al HaTurim "Do not put," and beside it: "When you come into your neighbor's standing grain."

A hint: sometimes do not put even into your mouth. For example, one who works with one kind does not eat from another kind.

Agra DeKala When you come into the vineyard (כֶּרֶם) of your neighbor (Devarim / Deuteronomy 23:25)

A hint at contemplating the "Measure of the Body" (שִׁיעוּר קוֹמָה), the secrets of the Torah in the wisdom of Kabbalah: this is "the vineyard of the Eternal of Hosts." "Your neighbor" is the Almighty, blessed is He: "Your friend and your father's friend" (Mishlei / Proverbs 27:10). And also: "vineyard" (כֶּרֶם) in numerical value is ten Names of the Eternal (יְהוָה), the "Measure of the Body." "And you may eat grapes" is the secret of secrets of the Torah, deep and hidden: as wine (יַיִן) is hidden in grapes (עֲנָבִים), and wine in number is "secret" (סוֹד). "As you please, until you are satisfied" means: be satisfied with secrets according to the root of your soul, which you received from your teachers. For a person does not merit to learn from every teacher, only if the root of his soul is a branch of that teacher. "But you shall not put any in your basket (כֶּלְיְךָ)": this word is from "and the miser (כֵּילַי), his devices (כֵּלָיו)" (Yeshayahu / Isaiah 32:7), where it means "thought." That is: do not rely in these matters on the guesses of your own thought, but build all your Torah on the firm foundation of the words of your teachers, who are the root of your soul. So it seems to me.

And another hint: "When you come into your neighbor's vineyard." "Vineyard" here is from words about the narrowness of exile, as "wrapping garments." And all the nations are called vineyards, as it says: "They made me keeper of the vineyards" (Shir HaShirim / Song of Songs 1:6). The meaning of the hint: when you come into the narrowness of exile under your "neighbor," that is Esav (Esau), "and you eat grapes" — bitter grapes, "as you please, until you are satisfied" — be satisfied as if by your own will, that is, accept sufferings with love, as if it were what you want. "But you shall not put any in your basket" — do not let your thought complain and doubt because of the length of the exile.

And one may say further, by what was said: "as you please, until you are satisfied (שָׂבְעֶךָ)." "Satisfaction" (שֹׂבַע) in number is "son of Yishai (Jesse)" (בֶּן יִשַׁי), for then we will be satisfied by the radiance of the Shechinah. And this is "as your soul, until you are satisfied": when you repair the soul of David, which is the Shechinah, our strength, so "satisfaction" will come, that is, "the son of Yishai." "But in your basket" — as said above.

Takeaway

Earlier in the chapter are the laws of vows (Devarim / Deuteronomy 23:22–24). A nazir (נָזִיר) has vowed not to drink wine or eat grapes. "Go around, do not come near the vineyard" is the sages' rule for a nazir (Shabbat 13a).
The order is unusual: first the vineyard (Devarim / Deuteronomy 23:25), then the standing grain (Devarim / Deuteronomy 23:26).
כֶּרֶם ("vineyard"): כ 20 + ר 200 + ם 40 = 260. The Name יְהוָה is 26, ten times is 260. The count is checked.
יַיִן ("wine"): י 10 + י 10 + ן 50 = 70. סוֹד ("secret"): ס 60 + ו 6 + ד 4 = 70. Hence the sages' saying: "wine went in, a secret came out" (Eruvin 65a). The count is checked.
שֹׂבַע ("satisfaction"): ש 300 + ב 2 + ע 70 = 372. בֶּן יִשַׁי ("son of Yishai"): 52 + 320 = 372. The son of Yishai is King David. The count is checked.
The "Measure of the Body" (שִׁיעוּר קוֹמָה) is, in Kabbalah, an image of the structure of the higher forces. "The vineyard of the Eternal of Hosts" are the prophet's words (Yeshayahu / Isaiah 5:7). "Bitter grapes" are from the song of Moshe (Devarim / Deuteronomy 32:32).
Esav (Esau) for the sages is an image of Rome and of those under whom the people live in exile. The Shechinah is the presence of the Almighty in the world.