8 When the Philistines heard that David had become king of Israel, they came to capture him. But David heard about their plan and marched out to meet them in battle.
9 The Philistines had already camped in Rephaim Valley and were raiding the nearby villages.
10 David asked God, “Should I attack the Philistines? Will you help me win?”The Lord told David, “Yes, attack them! I will give you victory.”
11 David and his army marched to Baal-Perazim, where they attacked and defeated the Philistines. He said, “I defeated my enemies because God broke through them like a mighty flood.” So he named the place “The Lord Broke Through”.
12 Then David ordered his troops to burn the idols that the Philistines had left behind.
13 Some time later, the Philistines came back into the hill country and camped in Rephaim Valley.
14 David asked God what he should do, and God answered, “Don't attack them from the front. Circle around behind them where the balsam trees are.