I have hidden Your word in my heart that I might not sin against You.
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
Here is, 1. The close application which David made of the word of God to himself: He hid it in his heart, laid it up there, that it might be ready to him whenever he had occasion to use it; he laid it up as that which he valued highly, and had a warm regard for, and which he was afraid of losing and being robbed of.
Blessed art thou, O Lord,.... In himself, in his nature, persons, and perfections; the fountain of all happiness to angels and men, in time and to eternity; to whom all blessing, honour, and glory, are to be given. The psalmist takes this method of praising and ascribing blessing to God, for what he had received from him; particularly for teaching him what he had learned...