Leviticus 5:1

Amplified Bible (AMP)
‘If anyone sins after he hears a [a]public adjuration (solemn command to testify) when he is a witness, whether he has seen or [otherwise] known [something]—if he fails to report it, then he will bear his guilt and be held responsible.

Read Leviticus 5:1 in other translations