Deuteronomy 23:22

20 You may charge a foreigner interest, but not your brother, so that the LORD your God may bless you in everything to which you put your hand in the land that you are entering to possess.

21 If you make a vow to the LORD your God, do not be slow to keep it, because He will surely require it of you, and you will be guilty of sin.

But if you refrain from making a vow, you will not be guilty of sin.

23 Be careful to follow through on what comes from your lips, because you have freely vowed to the LORD your God with your own mouth.

24 When you enter your neighbor’s vineyard, you may eat your fill of grapes, but you must not put any in your basket.

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
But if you refrain from making a vow, you will not be guilty of sin.
KJV
But if thou shalt forbear to vow, it shall be no sin in thee.
WEB
But if you refrain from making a vow, it shall be no sin in you.
ASV
But if thou shalt forbear to vow, it shall be no sin in thee.
DARBY
But if thou forbear to vow, it shall be no sin in thee.
BLB
But if you abstain from vowing, it shall not be sin in you.
ÅB
Men om du lar være å gjøre noe løfte, vil du ikke få synd på deg.
OTB
Men hvis du avstår fra å gi et løfte, vil du ikke være skyldig i synd.
B1930
Men om du lar være å gjøre noget løfte, vil du ikke få synd på dig.

Study notes (Tyndale)

Original text and word study