John Gill Bible Commentary
CHETH.--The Eighth Part.
CHETH. Thou art my portion, O Lord,.... Which he chose and preferred to all others; to the riches, honours, and profits of this world; the grant of which was made to him in the covenant of grace; the first discovery of it was from the Lord himself; and the choice and claim were made under the influence of his grace; and a great act of faith it is to assert this, and a wonderful blessing to enjoy it. This is a large portion indeed, immense and inconceivable, soul satisfying, safe, and for ever! see Psa 73:26;
I have said that I would keep thy words; keep his commandments, lay up his promises, observe his doctrines, profess and retain them; this he determined within himself to do, under a sense of the love of God to him, in being his portion and inheritance. Some render the words, in connection with the former, thus, "my portion, O Lord, I said, is", or "shall be, to keep thy words" (l); it is the part and portion of some to preach the word, and of others to hear it; and of all to keep or observe it, its precepts, promises, and truths. Aben Ezra gives the sense of them thus,
"This I said to many, perhaps they will keep thy words;''
namely, that the Lord was his portion, which he thought might induce them to an observance of them, as he had done.
(l) So Montanus, Piscator.
Matthew Henry Bible Commentary
Here is, 1. The converse David had with the word of God; he kept it in mind, and upon every occasion he called it to mind. God's name is the discovery he has made of himself to us in and by his word. This is his memorial unto all generations, and therefore we should always keep it in memory - remember it in the night, upon a waking bed, when we are communing with our own hearts. When others were sleeping David was remembering God's name, and, by repeating that lesson, increasing his acquaintance with it; in the night of affliction this he called to mind. 2. The conscience be made of conforming to it. The due remembrance of God's name, which is prefixed to his law, will have a great influence upon our observance of the law: I remembered thy name in the night, and therefore was careful to keep thy law all day. How comfortable will it be in the reflection if our own hearts can witness for us that we have thus remembered God's name, and kept his law! 3. The advantage he got by it (Psa 119:56): This I had because I kept thy precepts. Some understand this indefinitely: This I had (that is I had that which satisfied me; I had every thing that is comfortable) because I kept thy precepts. Note, All that have made a business of religion will own that it has turned to a good account, and that they have been unspeakable gainers by it. Others refer it to what goes immediately before: "I had the comfort of keeping thy law because I kept it." Note, God's work is its own wages. A heart to obey the will of God is a most valuable reward of obedience; and the more we do the more we may do, and shall do, in the service of God; the branch that bears fruit is made more fruitful, Joh 15:2.