(1) Had given him rest.--No intimation is given of how long this may have been after the events narrated in the last chapter; but it is evident that this narrative is placed here, not because it followed chronologically, but because it is closely related in subject, and the historian, after telling of the removal of the ark, wished to record in that connection David's further purposes in the same direction. It must have been after the successful close of David's principal foreign wars--"rest round about from all his enemies"--and the future in 2 Samuel 7:10 does not necessarily imply that it was before the birth of Solomon; yet it is more likely to have been in a time of quiet prosperity, before the troubles of his latter years.
Verse 1. - When the king sat in his house. The order is not chronological; for the words, Jehovah had given him rest from all his enemies round about (so the Revised Version, rightly), imply the successful termination, not of all wars necessarily, but certainly of something more than that with the Philistine invaders in the Rephaim valley. A general summary of all David's wars is given in ch. 8, and it was probably after he had subdued the Philistines and Moab, and his throne was now fully established, that in some time of peace, possibly before Hanun forced him into wars which won for him an empire, David sent for Nathan, and told him his full desire. Its position here immediately after the account of the bringing of the ark to Zion has a higher unity than that of chronology. It shows that David had always a larger purpose than the mere placing of the ark in its feint; and, as soon as a period of tranquillity arrived, he confided his thoughts to the prophet. Thus, with only one step taken towards his whole plan, David exercised a wise moderation in leaving the service at Gibeon unmolested. As regards the word "rest," we have to distinguish between the first series of wars, which established David firmly on his throne, and the second series, which gave him widespread dominion.
7:1-3 David being at rest in his palace, considered how he might best employ his leisure and prosperity in the service of God. He formed a design to build a temple for the ark. Nathan here did not speak as a prophet, but as a godly man, encouraging David by his private judgment. We ought to do all we can to encourage and promote the good purposes and designs of others, and, as we have opportunity, to forward a good work.
And it came to pass, when the king sat in his house,.... Which Hiram's servants had built for him, having no occasion to go out to war:
and the Lord had given him rest round about from all his enemies; both at home and abroad; though this rest and peace did not last long; for the next chapter gives an account of each of the people he was engaged in war with, 2 Samuel 8:1.
and the Lord had given him rest round about from all his enemies; both at home and abroad; though this rest and peace did not last long; for the next chapter gives an account of each of the people he was engaged in war with, 2 Samuel 8:1.