8 When the Philistines heard that David had been anointed king over all Israel, they all marched up to find him. David heard this and went out to confront them.
9 The Philistines had invaded and were plundering the Rephaim Valley.
10 David asked God for advice: "Should I attack the Philistines, and will you hand them over to me?"The Lord answered, "Attack them, and I’ll definitely hand them over to you."
11 So they marched up to Baal-perazim, and David defeated them there. "By my strength," David exclaimed, "God has burst out against my enemies, the way water bursts out." That’s why the place is called Baal-perazim.
12 The Philistines left their divine images behind, and David ordered them burned.
13 When the Philistines plundered the valley a second time,
14 David again asked God’s advice, but God answered, "Don’t attack them directly. Circle around behind them and come at them from in front of the balsam trees.