10:005:018 The Philistines also came and spread themselves in the valley of Rephaim.

10:005:019 And David enquired of the LORD, saying, Shall I go up to the
Philistines? wilt thou deliver them into mine hand? And the
LORD said unto David, Go up: for I will doubtless deliver the
Philistines into thine hand.

10:005:020 And David came to Baalperazim, and David smote them there, and
said, The LORD hath broken forth upon mine enemies before me,
as the breach of waters. Therefore he called the name of that
place Baalperazim.

10:005:021 And there they left their images, and David and his men burned
them.

10:005:022 And the Philistines came up yet again, and spread themselves
in the valley of Rephaim.

10:005:023 And when David enquired of the LORD, he said, Thou shalt not go up; but fetch a compass behind them, and come upon them over against the mulberry trees.

10:005:024 And let it be, when thou hearest the sound of a going in the tops of the mulberry trees, that then thou shalt bestir thyself: for then shall the LORD go out before thee, to smite the host of the Philistines.

10:005:025 And David did so, as the LORD had commanded him; and smote the
Philistines from Geba until thou come to Gazer.

10:006:001 Again, David gathered together all the chosen men of Israel,
thirty thousand.

10:006:002 And David arose, and went with all the people that were with him from Baale of Judah, to bring up from thence the ark of God, whose name is called by the name of the LORD of hosts that dwelleth between the cherubims.