11 It was at this time that Hiram, king of Tyre, sent messengers to David, along with timbers of cedar. He also sent carpenters and masons to build a house for David. 12 David took this as a sign that God had confirmed him as king of Israel, giving his kingship world prominence for the sake of Israel, his people.
13 David took on more concubines and wives from Jerusalem after he left Hebron. And more sons and daughters were born to him. 14 These are the names of those born to him in Jerusalem: Shammua, Shobab, Nathan, Solomon, 15 Ibhar, Elishua, Nepheg, Japhia, 16 Elishama, Eliada, Eliphelet.
17 When the Philistines got word that David had been made king over all Israel, they came on the hunt for him. David heard of it and went down to the stronghold. 18 When the Philistines arrived, they deployed their forces in Raphaim Valley. 19 Then David prayed to God: "Shall I go up and fight the Philistines? Will you help me beat them?" 20 "Go up," God replied. "Count on me. I'll help you beat them." 21 The retreating Philistines dumped their idols, and David and his soldiers took them away. 22 Later there was a repeat performance. The Philistines came up again and deployed their troops in the Rephaim Valley. 23 David again prayed to God. 24 When you hear the sound of shuffling in the trees, get ready to move out. It's a signal that God is going ahead of you to smash the Philistine camp." 25 David did exactly what God told him. He routed the Philistines all the way from Gibeon to 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.