I Chronicles 14:1-17 NKJV
Now Hiram king of Tyre sent messengers to David, and cedar trees, with masons and carpenters, to build him a house. So David knew that the LORD had established him as king over Israel, for his kingdom was highly exalted for the sake of His people Israel.
Then David took more wives in Jerusalem, and David begot more sons and daughters. And these are the names of his children whom he had in Jerusalem: Shammua, Shobab, Nathan, Solomon, Ibhar, Elishua, Elpelet, Nogah, Nepheg, Japhia, Elishama, Beeliada, and Eliphelet.
Now when the Philistines heard that David had been anointed king over all Israel, all the Philistines went up to search for David. And David heard of it and went out against them. Then the Philistines went and made a raid on the Valley of Rephaim. And David inquired of God, saying, “Shall I go up against the Philistines? Will You deliver them into my hand?”
The LORD said to him, “Go up, for I will deliver them into your hand.”
So they went up to Baal Perazim, and David defeated them there. Then David said, “God has broken through my enemies by my hand like a breakthrough of water.” Therefore they called the name of that place Baal Perazim. And when they left their gods there, David gave a commandment, and they were burned with fire.
Then the Philistines once again made a raid on the valley. Therefore David inquired again of God, and God said to him, “You shall not go up after them; circle around them, and come upon them in front of the mulberry trees. And it shall be, when you hear a sound of marching in the tops of the mulberry trees, then you shall go out to battle, for God has gone out before you to strike the camp of the Philistines.” So David did as God commanded him, and they drove back the army of the Philistines from Gibeon as far as Gezer. Then the fame of David went out into all lands, and the LORD brought the fear of him upon all nations.
NKJV: New King James Version