Psalm 18:23

23 I was pure-hearted with him and kept myself from my sin.