Leviticus 5:4-6

BBE(i) 4 Or if anyone, without thought, takes an oath to do evil or to do good, whatever he says without thought, with an oath, having no knowledge of what he is doing; when it becomes clear to him, he will be responsible for any of these things. 5 And whoever is responsible for any such sin, let him make a statement openly of his wrongdoing; 6 And take to the Lord the offering for the wrong which he has done, a female from the flock, a lamb or a goat, for a sin-offering, and the priest will take away his sin.