2 Samuel 5
3So all the elders of Israel came to the king to Hebron; and king David made a league with them in Hebron before the LORD: and they anointed David king over Israel.
4David was thirty years old when he began to reign, and he reigned forty years.
9So David dwelt in the fort, and called it the city of David. And David built around from Millo and inward.
10And David went on, and grew great, and the LORD God of hosts was with him.
12And David perceived that the LORD had established him king over Israel, and that he had exalted his kingdom for his people Israel's sake.
13And David took him more concubines and wives out of Jerusalem, after he had come from Hebron: and there were yet sons and daughters born to David.
17But when the Philistines heard that they had anointed David king over Israel, all the Philistines came up to seek David; and David heard of it , and went down to the hold.
19And David inquired of the LORD, saying, Shall I go up to the Philistines? wilt thou deliver them into my hand? And the LORD said to David, Go up: for I will doubtless deliver the Philistines into thy hand.
21And there they left their images, and David and his men burned them.
22And the Philistines came yet again, and spread themselves in the valley of Rephaim.
23And when David inquired of the LORD, he said, Thou shalt not go up: but fetch a compass behind them, and come upon them over against the mulberry-trees.
24And let it be, when thou hearest the sound of a going in the tops of the mulberry-trees, that then thou shalt bestir thyself: for then shall the LORD go out before thee, to smite the host of the Philistines.
25And David did so as the LORD had commanded him; and smote the Philistines from Geba until thou comest to Gazer.