18 Then King David went in and sat before the Lord, and said, "Who am I, O Lord GOD, and what is my house, that thou hast brought me thus far? 19 And yet this was a small thing in thy eyes, O Lord GOD; thou hast spoken also of thy servant's house for a great while to come, and hast shown me future generations, O Lord GOD! 20 And what more can David say to thee? For thou knowest thy servant, O Lord GOD! 21 Because of thy promise, and according to thy own heart, thou hast wrought all this greatness, to make thy servant know it. 22 Therefore thou art great, O Lord God; for there is none like thee, and there is no God besides thee, according to all that we have heard with our ears. 23 What other nation on earth is like thy people Israel, whom God went to redeem to be his people, making himself a name, and doing for them great and terrible things, by driving out before his people a nation and its gods? 24 And thou didst establish for thyself thy people Israel to be thy people for ever; and thou, O Lord, didst become their God. 25 And now, O Lord God, confirm for ever the word which thou hast spoken concerning thy servant and concerning his house, and do as thou hast spoken; 26 and thy name will be magnified for ever, saying, 'The Lord of hosts is God over Israel,' and the house of thy servant David will be established before thee. 27 For thou, O Lord of hosts, the God of Israel, hast made this revelation to thy servant, saying, 'I will build you a house'; therefore thy servant has found courage to pray this prayer to thee. 28 And now, O Lord GOD, thou art God, and thy words are true, and thou hast promised this good thing to thy servant; 29 now therefore may it please thee to bless the house of thy servant, that it may continue for ever before thee; for thou, O Lord GOD, hast spoken, and with thy blessing shall the house of thy servant be blessed for ever."

Matthew Henry's Commentary on 2 Samuel 7:18-29

Commentary on 2 Samuel 7:18-29

(Read 2 Samuel 7:18-29)

David's prayer is full of the breathings of devout affection toward God. He had low thoughts of his own merits. All we have, must be looked upon as Divine gifts. He speaks very highly and honourably of the Lord's favours to him. Considering what the character and condition of man is, we may be amazed that God should deal with him as he does. The promise of Christ includes all; if the Lord God be ours, what more can we ask, or think of? Ephesians 3:20. He knows us better than we know ourselves; therefore let us be satisfied with what he has done for us. What can we say more for ourselves in our prayers, than God has said for us in his promises? David ascribes all to the free grace of God. Both the great things He had done for him, and the great things He had made known to him. All was for his word's sake, that is, for the sake of Christ the eternal Word. Many, when they go to pray, have their hearts to seek, but David's heart was found, that is, it was fixed; gathered in from its wanderings, entirely engaged to the duty, and employed in it. That prayer which is from the tongue only, will not please God; it must be found in the heart; that must be lifted up and poured out before God. He builds his faith, and hopes to speed, upon the sureness of God's promise. David prays for the performance of the promise. With God, saying and doing are not two things, as they often are with men; God will do as he hath said. The promises of God are not made to us by name, as to David, but they belong to all who believe in Jesus Christ, and plead them in his name.