John Gills Exposition of the Bible Commentary - Psalms 18:22
For all his judgments were before me ,.... That is, the precepts of the law of God, which David had a respect unto, loved, took delight and pleasure in, and so had them all in his sight, and made them the rule of his actions; and the law of God is delighted in by regenerate persons, after the inward man; and though it is abolished as a covenant of works, it is a rule of walk and conversation to the saints; and as such they keep it in view, and regard it impartially, not only some of its... read more
Matthew Henry's Complete Commentary - Psalms 18:20-28
Here, I. David reflects with comfort upon his own integrity, and rejoices in the testimony of his conscience that he had had his conversation in godly sincerity and not with fleshly wisdom, 2 Cor. 1:12. His deliverances were an evidence of this, and this was the great comfort of his deliverances. His enemies had misrepresented him, and perhaps, when his troubles continued long, he began to suspect himself; but, when God visibly took his part, he had both the credit and the comfort of his... read more