18 Then King David went in and sat before the Lord, and he said: "Who am I, Sovereign Lord, and what is my family, that you have brought me this far? 19 And as if this were not enough in your sight, Sovereign Lord, you have also spoken about the future of the house of your servant-and this decree, Sovereign Lord, is for a mere human![1] 20 "What more can David say to you? For you know your servant, Sovereign Lord. 21 For the sake of your word and according to your will, you have done this great thing and made it known to your servant. 22 "How great you are, Sovereign Lord! There is no one like you, and there is no God but you, as we have heard with our own ears. 23 And who is like your people Israel-the one nation on earth that God went out to redeem as a people for himself, and to make a name for himself, and to perform great and awesome wonders by driving out nations and their gods from before your people, whom you redeemed from Egypt?[2] 24 You have established your people Israel as your very own forever, and you, Lord, have become their God. 25 "And now, Lord God, keep forever the promise you have made concerning your servant and his house. Do as you promised, 26 so that your name will be great forever. Then people will say, 'The Lord Almighty is God over Israel!' And the house of your servant David will be established in your sight. 27 "Lord Almighty, God of Israel, you have revealed this to your servant, saying, 'I will build a house for you.' So your servant has found courage to pray this prayer to you. 28 Sovereign Lord, you are God! Your covenant is trustworthy, and you have promised these good things to your servant. 29 Now be pleased to bless the house of your servant, that it may continue forever in your sight; for you, Sovereign Lord, have spoken, and with your blessing the house of your servant will be blessed forever."

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.