Here is, 1. A great favour which David expects from God, that he will
teach him his statutes. This he had often prayed for in this psalm, and
urged his petition for it with various arguments; and now that he is
drawing towards the close of the psalm he speaks of it as taken for
granted. Those that are humbly earnest with God for his grace, and
resolve with Jacob that they will not let him go unless he bless them
with spiritual blessings, may be humbly confident that they shall at
length obtain what they are so importunate for. The God of Israel will
grant them those things which they request of him. 2. The grateful
sense he promises to have of that favour: My lips shall utter praise
when thou hast taught me. (1.) Then he shall have cause to praise God.
Those that are taught of God have a great deal of reason to be
thankful, for this is the foundation of all these spiritual blessings,
which are the best blessings, and the earnest of eternal blessings.
(2.) Then he shall know how to praise God, and have a heart to do it.
All that are taught of God are taught this lesson; when God opens the
understanding, opens the heart, and so opens the lips, it is that the
mouth may show forth his praise. We have learned nothing to purpose if
we have not learned to praise God. (3.) Therefore he is thus
importunate for divine instructions, that he might praise God. Those
that pray for God's grace must aim at God's glory, Eph. i. 12.