Psalm 19:10-11 More to be desired are they than gold, yea, than much fine gold: sweeter also than honey and the honeycomb. Moreover by them is thy servant warned; and in keeping of them there is great reward.
David speaks of the general revelation of God in Creation: the heavens declare the glory of God. Then he moves to the special revelation of God in His Word: the law, the testimony, the statutes, the commandment, the fear, the judgments of the Lord. The Word gives us so many good things, for it gives us God.
The Spirit creates in us a desire for the Word, a hunger and thirst for it, for it is worth more and does more good than all the money in the world. The emptiness inside cannot be satisfied with anything other than God, who comes to in His Word. Therefore, we yearn for Church, Bible study, and personal time in the Word.
Through the Law God warns His children, convicting of sin, leading to repentance and faith in the Gospel, and guiding them into good works.
Then the Spirit motivates and empowers us to keep the Law of God and live out His Commandments in daily living. For obedience brings great reward and blessing. Keeping the Law is worth it. Of course, we keep the Law imperfectly, but Christ has kept it perfectly in our place. By faith in Jesus we are counted righteous, and so we thankfully receive the rewards and benefits.