8 When the Philistines heard that David had been anointed as king over all Israel, all the Philistines went up to search for David. But David heard and went out from before them.
9 Now the Philistines came and carried out a raid in the Valley of Rephaim.
10 Then David inquired of God, saying, “Shall I go up against the Philistines? Will you put them into my hand?” And Yahweh said to him, “Go up. I will put them into your hand.”
11 And he went up to Baal-Perazim, and David struck them there. And David said, “God has burst out against my enemies by my hand like waters burst out.” Therefore they will call the name of this place Baal-Perazim.
12 And they abandoned their gods there. And David commanded, and they were burnt with fire.
13 Then the Philistines carried out another raid in the valley.
14 Then David inquired again of God. And God said to him, “You shall not go up after them. Go around from before them and come against them the opposite way of the balsam trees.