Bamidbar30:3

אִישׁ כִּי־יִדֹּר נֶדֶר לַיהוָה אוֹ־הִשָּׁבַע שְׁבֻעָה לֶאְסֹר אִסָּר עַל־נַפְשׁוֹ לֹא יַחֵל דְּבָרוֹ כְּכָל־הַיֹּצֵא מִפִּיו יַעֲשֶׂה׃

When a man vows a vow to the Eternal, or swears an oath to bind himself with a bond, he shall not break his word: he shall do all that has come out of his mouth.

Bamidbar 30:3

אִישׁ כִּי־יִדֹּר נֶדֶר

Bamidbar / Numbers 30:3 · Remez

Bamidbar 30:3

אִישׁ כִּי־יִדֹּר נֶדֶר לַיהוָה אוֹ־הִשָּׁבַע שְׁבֻעָה לֶאְסֹר אִסָּר עַל־נַפְשׁוֹ לֹא יַחֵל דְּבָרוֹ כְּכָל־הַיֹּצֵא מִפִּיו יַעֲשֶׂה׃

When a man vows a vow to the Eternal, or swears an oath to bind himself with a bond, he shall not break his word: he shall do all that has come out of his mouth.

Remez רֶמֶז

A vow and an altar off to the side

Sometimes a person says in a temper: "Never again!" It looks like willpower. The commentators hear a warning in the words of the verse.

Kitzur Ba'al HaTurim: "vows" (נְדָרִים) equals "murderer" (רוֹצֵחַ) in number, 304: an unkept vow weighs like a killing. Kli Yakar: the Torah says "a man" (אִישׁ): a vow to the Eternal is made by one with a settled mind, while a vow in anger is like a private altar built off to the side of the community.

How Kitzur Ba'al HaTurim and Kli Yakar explain it

Kitzur Ba'al HaTurim Vows

"Vows" (נְדָרִים) equals "murderer" (רוֹצֵחַ) in numerical value: one who made a vow and does not keep it is counted as a murderer, for through the sin of vows children die.

Kli Yakar When a man vows a vow to the Eternal

There are two kinds of vows. One who vows in anger to forbid something to himself, that vow is not "to the Eternal". And it says precisely "a man (אִישׁ), when he vows": when he is a man with a settled mind, we read of him "a man in an oath" (Shevuot 26a), and that is one who vows to the Eternal. But one who vows in anger, since "anger rests in the bosom of fools" (Kohelet / Ecclesiastes 7:9), is no longer a man and is like a beast. And our sages, of blessed memory, spoke in disapproval of one who vows: one who vows is as if he built a private altar, and one who keeps it is as if he offered on it (Nedarim 22a).

And here is something like a proof for their words. Rashi explained: here it says "this is the thing (זֶה הַדָּבָר)", and of offerings slaughtered outside the Sanctuary it says "this is the thing". And I say: derive one from the other. As there it speaks of a private altar, so here too a private altar, for "slaughtered outside" is what is offered on a private altar. So the words said here of one who vows speak of one who offers on a private altar, for one who vows is as if he built a private altar. And the reason is that the Torah went down to the very thought of the one who vows: he forbids himself what the whole world uses freely. Most likely the pride of his heart moved him to separate from the whole congregation and take himself out of the community.

Takeaway

The numbers: נְדָרִים = 50 + 4 + 200 + 10 + 40 = 304, רוֹצֵחַ = 200 + 6 + 90 + 8 = 304.
"Through the sin of vows children die" is a saying of the Talmud (Shabbat 32b).
A private altar (בָּמָה) is an altar outside the Sanctuary. Of offerings outside the Sanctuary the Torah uses the same words "this is the thing (זֶה הַדָּבָר) which the Eternal commanded" (Vayikra / Leviticus 17:2), and right after forbids them (Vayikra / Leviticus 17:3–4).