20 And David came to Baal Pharisim: and defeated them there, and he said: The Lord hath divided my enemies before me, as waters are divided. Therefore the name of the place was called Baal Pharisim.
21 And they left there their idols: which David and his men took away.
22 And the Philistines came up again and spread themselves in the valley of Raphaim.
23 And David consulted the Lord: Shall I go up against the Philistines, and wilt thou deliver them into my hands? He answered: Go not up against them, but fetch a compass behind them, and thou shalt come upon them over against the pear trees.
24 And when thou shalt hear the sound of one going in the tops of the pear trees, then shalt thou join battle: for then will the Lord go out before thy face to strike the army of the Philistines.
25 And David did as the Lord had commanded him, and he smote the Philistines from Gabaa until thou come to Gezer.