Leviticus 5:1

1“If anyone sins in that he hears a public aadjuration to testify, and though he is a witness, whether he has seen or come to know the matter, yet does not speak, he shall bbear his iniquity;

Judges 17:2

2And he said to his mother, “The 1,100 pieces of silver that were taken from you, about which you uttered a curse, and also spoke it in my ears, behold, the silver is with me; I took it.” And his mother said, cBlessed be my son by the Lord.”
Copyright information for ESV