The wicked have laid a snare for me
To draw him into sin, and so into mischief; and even to take away his life, as they are said to dig pits for him, ( Psalms 119:85 ) ;
yet I erred not from thy precepts:
not wilfully and wickedly, though through inadvertence and infirmity, as he often did, and every good man does; and indeed his errors are so many, that they cannot be understood and numbered. The sense is, he kept on in the way of his duty; did not desist from that, or wickedly depart from his God, and his worship, to escape the snares of bad men.