8 When the Philistines heard that David had been made king of all Israel, they went to look for him. But David heard about it and went out to fight them.
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.