Deuteronomy 23:22

But if you abstain from vowing, it shall not be sin to you.