Leviticus 5:4
Or if someone makes a careless promise with his lips to do something good or bad, he is guilty in that matter when he finds out. This is true for any matter a person might rashly swear about, even if he did not know it.
Leviticus 5:4, Readable English Bible (READ)