11 Then Hiram king of Tyre sent messengers to David, and cedar trees, and carpenters and masons. And they built David a house. 12 So David knew that the Lord had established him as king over Israel, and that He had exalted His kingdom for the sake of His people Israel.
13 And David took more concubines and wives from Jerusalem, after he had come from Hebron. Also more sons and daughters were born to David. 14 Now these are the names of those who were born to him in Jerusalem: Shammua, Shobab, Nathan, Solomon, 15 Ibhar, Elishua, Nepheg, Japhia, 16 Elishama, Eliada, and Eliphelet.
17 Now when the Philistines heard that they had anointed David king over Israel, all the Philistines went up to search for David. And David heard of it and went down to the stronghold. 18 The Philistines also went and deployed themselves in the Valley of Rephaim. 19 So David inquired of the Lord, saying, "Shall I go up against the Philistines? Will You deliver them into my hand?" And the Lord said to David, "Go up, for I will doubtless deliver the Philistines into your hand." 20 So David went to Baal Perazim, and David defeated them there; and he said, "The Lord has broken through my enemies before me, like a breakthrough of water." Therefore he called the name of that place Baal Perazim. 21 And they left their images there, and David and his men carried them away. 22 Then the Philistines went up once again and deployed themselves in the Valley of Rephaim. 23 Therefore David inquired of the Lord, and He said, "You shall not go up; circle around behind them, and come upon them in front of the mulberry trees. 24 And it shall be, when you hear the sound of marching in the tops of the mulberry trees, then you shall advance quickly. For then the Lord will go out before you to strike the camp of the Philistines." 25 And David did so, as the Lord commanded him; and he drove back the Philistines from Geba as far as Gezer.
Matthew Henry's Commentary on 2 Samuel 5:11-25
Commentary on 2 Samuel 5:11-16
(Read 2 Samuel 5:11-16)
David's house was not the worse, nor the less fit to be dedicated to God, for being built by the sons of the stranger. It is prophesied of the gospel church, The sons of strangers shall build up thy walls, and their kings shall minister unto thee, Isaiah 60:10. David's government was rooted and built up. David was established king; so is the Son of David, and all who, through him, are made to our God kings and priests. Never had the nation of Israel appeared so great as it began now to be. Many have the favour and love of God, yet do not perceive it, and so want the comfort of it; but to be exalted to that, and to perceive it, is happiness. David owned it was for his people's sake God had done great things for him; that he might be a blessing to them, and that they might be happy under him.
Commentary on 2 Samuel 5:17-25
(Read 2 Samuel 5:17-25)
The Philistines considered not that David had the presence of God with him, which Saul had forfeited and lost. The kingdom of the Messiah, as soon as it was set up in the world, was thus attacked by the powers of darkness. The heathen raged, and the kings of the earth set themselves to oppose it; but all in vain, Acts 2:2.