9 The Philistines had attacked and robbed the people in the Valley of Rephaim.
10 David asked God, “Should I go and attack the Philistines? Will you hand them over to me?”The Lord answered him, “Go, I will hand them over to you.”
11 So David and his men went up to the town of Baal Perazim and defeated the Philistines. David said, “Like a flood of water, God has broken through my enemies by using me.” So that place was named Baal Perazim.
12 The Philistines had left their idols there, so David ordered his men to burn them.
13 Soon the Philistines attacked the people in the valley again.
14 David prayed to God again, and God answered him, saying, “Don’t attack the Philistines from the front. Instead, go around them and attack them in front of the balsam trees.
15 When you hear the sound of marching in the tops of the balsam trees, then attack. I, God, will have gone out before you to defeat the Philistine army.”