We may observe in these verses, 1. What David experienced of an affection to the law of God: “I seek thy precepts, Ps. 119:45. I desire to know and do my duty, and consult thy word accordingly; I do all I can to understand what the will of the Lord is and to discover the intimations of his mind. I seek thy precepts, for I have loved them, Ps. 119:47, 48. I not only give consent to them as good, but take complacency in them as good for me.” All that love God love his government and therefore love all his commandments. 2. What he expected from this. Five things he promises himself here in the strength of God’s grace:—(1.) That he should be free and easy in his duty: “I will walk at liberty, freed from that which is evil, not hampered with the fetters of my own corruptions, and free to that which is good, doing it not by constraint, but willingly.” The service of sin is perfect slavery; the service of God is perfect liberty. Licentiousness is bondage to the greatest of tyrants; conscientiousness is freedom to the meanest of prisoners, John 8:32, 36; Luke 1:74, 75. (2.) That he should be bold and courageous in his duty: I will speak of thy testimonies also before kings. Before David came to the crown kings were sometimes his judges, as Saul, and Achish; but, if he were called before them to give a reason of the hope that was in him, he would speak of God’s testimonies, and profess to build his hope upon them and make them his council, his guards, his crown, his all. We must never be afraid to own our religion, though it should expose us to the wrath of kings, but speak of it as that which we will live and die by, like the three children before Nebuchadnezzar, Dan. 3:16; Acts 4:20. After David came to the crown kings were sometimes his companions; they visited him and he returned their visits; but he did not, in complaisance to them, talk of every thing but religion, for fear of affronting them and making his conversation uneasy to them. No; God’s testimonies shall be the principal subject of his discourse with the kings, not only to show that he was not ashamed of his religion, but to instruct them in it and bring them over to it. It is good for kings to hear of God’s testimonies, and it will adorn the conversation of princes themselves to speak of them. (3.) That he should be cheerful and pleasant in his duty (Ps. 119:47): “I will delight myself in thy commandments, in conversing with them, in conforming to them. I will never be so well pleased with myself as when I do that which is pleasing to God.” The more delight we take in the service of God the nearer we come to the perfection we aim at. (4.) That he should be diligent and vigorous in his duty: I will lift up my hands to thy commandments, which denotes not only a vehement desire towards them (Ps. 143:6) --“I will lay hold of them as one afraid of missing them, or letting them go;” but a close application of mind to the observance of them—“I will lay my hands to the command, not only to praise it, but practise it; nay, I will lift up my hands to it, that is, I will put forth all the strength I have to do it.” The hands that hang down, through sloth and discouragement, shall be lifted up, Heb. 12:12. (5.) That he should be thoughtful and considerate in his duty (Ps. 119:48): “I will meditate in thy statutes, not only entertain myself with thinking of them as matters of speculation, but contrive how I may observe them in the best manner.” By this it will appear that we truly love God’s commandments, if we apply both our minds and our hands to them.