Here is, 1. David's care to avoid the ways of sin: "I have refrained my
feet from the evil ways they were ready to step aside into. I checked
myself and drew back as soon as I was aware that I was entering into
temptation." Though it was a broad way, a green way, a pleasant way,
and a way that many walked in, yet, being a sinful way, it was an evil
way, and he refrained his feet from it, foreseeing the end of that way.
And his care was universal; he shunned every evil way. By the words of
thy lips I have kept myself from the paths of the destroyer, Ps. xvii.
4. 2. His care to be found in the way of duty; That I might keep thy
word, and never transgress it. His abstaining from sin was, (1.) An
evidence that he did conscientiously aim to keep God's word and had
made that his rule. (2.) It was a means of his keeping God's word in
the exercises of religion; for we cannot with any comfort or boldness
attend on God in holy duties, so as in them to keep his word, while we
are under guilt or in any by-way.