David becomes king over Israel
1All the tribes of Israel came to David at Hebron and said, ‘We are your own flesh and blood. 2 In the past, while Saul was king over us, you were the one who led Israel on their military campaigns. And the Lord said to you, “You shall shepherd my people Israel, and you shall become their ruler.”’
3 When all the elders of Israel had come to King David at Hebron, the king made a covenant with them at Hebron before the Lord, and they anointed David king over Israel.
4 David was thirty years old when he became king, and he reigned for forty years. 5 In Hebron he reigned over Judah for seven years and six months, and in Jerusalem he reigned over all Israel and Judah for thirty-three years.
David conquers Jerusalem
6 The king and his men marched to Jerusalem to attack the Jebusites, who lived there. The Jebusites said to David, ‘You will not get in here; even the blind and the lame can ward you off.’ They thought, ‘David cannot get in here.’ 7 Nevertheless, David captured the fortress of Zion – which is the City of David.
8 On that day David had said, ‘Anyone who conquers the Jebusites will have to use the water shaft to reach those “lame and blind” who are David’s enemies.’[a] That is why they say, ‘The “blind and lame” will not enter the palace.’
9 David then took up residence in the fortress and called it the City of David. He built up the area around it, from the terraces[b] inwards. 10 And he became more and more powerful, because the Lord God Almighty was with him.
11 Now Hiram king of Tyre sent envoys to David, along with cedar logs and carpenters and stonemasons, and they built a palace for David. 12 Then David knew that the Lord had established him as king over Israel and had exalted his kingdom for the sake of his people Israel.
13 After he left Hebron, David took more concubines and wives in Jerusalem, and more sons and daughters were born to him. 14 These are the names of the children born to him there: Shammua, Shobab, Nathan, Solomon, 15 Ibhar, Elishua, Nepheg, Japhia, 16 Elishama, Eliada and Eliphelet.
David defeats the Philistines
17 When the Philistines heard that David had been anointed king over Israel, they went up in full force to search for him, but David heard about it and went down to the stronghold. 18 Now the Philistines had come and spread out in the Valley of Rephaim; 19 so David enquired of the Lord, ‘Shall I go and attack the Philistines? Will you deliver them into my hands?’
The Lord answered him, ‘Go, for I will surely deliver the Philistines into your hands.’
20 So David went to Baal Perazim, and there he defeated them. He said, ‘As waters break out, the Lord has broken out against my enemies before me.’ So that place was called Baal Perazim.[c] 21 The Philistines abandoned their idols there, and David and his men carried them off.
22 Once more the Philistines came up and spread out in the Valley of Rephaim; 23 so David enquired of the Lord, and he answered, ‘Do not go straight up, but circle round behind them and attack them in front of the poplar trees. 24 As soon as you hear the sound of marching in the tops of the poplar trees, move quickly, because that will mean the Lord has gone out in front of you to strike the Philistine army.’ 25 So David did as the Lord commanded him, and he struck down the Philistines all the way from Gibeon[d] to Gezer.