The same desire for the glory of God which actuated David in the incidents of the sixth, chapter, comes in view in what we read here. David was troubled because he had a house of cedar, while the dwelling place of God on earth—the tabernacle,—was a tent, and he wished to build a house for Him. The desire seemed a good one to Nathan the prophet, but it could not be granted because the time for rest had not come. War was not a thing of the past. David was a type of Christ as suffering and conquering, reestablishing among God's people the glory of His name, but his son and heir, Solomon, was to be a type of Christ as the Prince of Peace; he should build the house, when wars were over.
And that God Who had taken David from the sheepcote, Who was with him whithersoever he went, and had placed him on the throne of Israel, He would make His servant David a house (verse 11). David was more than a type; he was the source of that family from which Christ Himself was afterward to spring as the word of God to Nathan implies, though David's Son was David's Lord; the Root of David indeed (Revelation 5:55And one of the elders saith unto me, Weep not: behold, the Lion of the tribe of Juda, the Root of David, hath prevailed to open the book, and to loose the seven seals thereof. (Revelation 5:5)).
The revelation which God thus made of His purposes, deeply moved the heart of David, and he went in before Him, not to rejoice in his own good fortune, so to speak, but to bless the Author of it all. Rightly taking a low place, he boasted of the grace of God to him,—so unlike the manner of man. God knew His servant, and in this lay his confidence, and joy. It was for His Word's sake, and according to His own heart that He thus had spoken. David is here a worshiper, occupied with the one Who had won his heart,—a pattern for the follower of Christ in this day. 0, to see more of this among God's people!
The promises concerning David's seed in verses 12-16 go far beyond Solomon, who though he was a wonderful type of Christ as reigning in peace during the Millennial age to come, yet failed most sadly; their ultimate fulfilment awaits that day of glory.