Deuteronomy 23:22

NLT
New Living Translation

22However, it is not a sin to refrain from making a vow.