8When the Philistines heard that David was anointed king over all Israel, all the Philistines went up to seek David: and David heard of it, and went out against them.
9Now the Philistines had come and made a raid in the valley of Rephaim.
10David inquired of God, saying, Shall I go up against the Philistines? and will you deliver them into my hand? Yahweh said to him, Go up; for I will deliver them into your hand.
11So they came up to Baal-perazim, and David struck them there; and David said, God has broken my enemies by my hand, like the breach of waters. Therefore they called the name of that place Baal-perazim.
12They left their gods there; and David gave commandment, and they were burned with fire.
13The Philistines yet again made a raid in the valley.
14David inquired again of God; and God said to him, You shall not go up after them: turn away from them, and come on them over against the mulberry-trees.