Deuteronomy 23:22

But if thou shalt forbear to vow, it shall be no sin in thee.

Cross-reference

Numbers 30:2 declares that a man must keep every vow he makes — complementing the point that refraining from vowing avoids sin, but once vowed, it must be kept.

Ecclesiastes 5:5 echoes the same warning: better not to vow than to vow and not pay.