Acts 23:1:
And Paul, earnestly beholding the council, said, Men and brethren, I have lived in all good conscience before God until this day.
See also:
What 1 John 1:9 Really Means
Doesn’t 1 John 3:22 Prove That Our Ability to Receive Depends on How Well We Keep God’s Commandments?