8 When the Philistines heard that David had now been made king over the whole country of Israel, their army went out to capture him. So David marched out to meet them.
9 The Philistines arrived at the Valley of Rephaim and began plundering.
10 David asked God, “Shall I attack the Philistines? Will you give me the victory?”The Lord answered, “Yes, attack! I will give you the victory!”
11 So David attacked them at Baal Perazim and defeated them. He said, “God has used me to break through the enemy army like a flood.” So that place is called Baal Perazim.
12 When the Philistines fled, they left their idols behind, and David gave orders for them to be burnt.
13 Soon the Philistines returned to the valley and started plundering it again.
14 Once more David consulted God, who answered, “Don't attack them from here, but go round and get ready to attack them from the other side, near the balsam trees.