2 Samuel 5:17-19
2 Samuel 5:17-19 ESV
When the Philistines heard that David had been anointed king over Israel, all the Philistines went up to search for David. But David heard of it and went down to the stronghold. Now the Philistines had come and spread out in the Valley of Rephaim. And David inquired of the LORD, “Shall I go up against the Philistines? Will you give them into my hand?” And the LORD said to David, “Go up, for I will certainly give the Philistines into your hand.”