Thou through thy commandments hast made me wiser than mine enemies: for they are ever with me.
This psalm pursues two chief ends: to exhort God's children toward a holy life, and to establish the Law as the rule and form of true worship. The psalmist weaves in promises to animate believers to live justly, and complaints against the wicked who despise the Law, lest the faithful be corrupted by their example. Though he moves from one matter to another, the composition is not a heap of scattered thoughts, but holds together by a living connection.
AI summary
Commenting on Psalm 119:1-176
We have here an account of David's learning, not that of the Egyptians, but of the Israelites indeed. I. The good method by which he got it. In his youth he minded business in the country as a shepherd; from his youth he minded business in the court and camp. Which way then could he get any great stock of learning?
Commenting on Psalm 119:98-100
I have not departed from thy judgments,.... From the precepts of the word, from the ways and worship and ordinances of God; he had not wickedly and on purpose departed from them; whenever he did, it was through inadvertency, the weakness of the flesh, and strength of temptation; nor from the doctrines of the word, which he held fast, knowing of whom he had learned...