When Saul returned from the pursuit of the Philistines, he was told that David was in the desert near Engedi.
He said: O Lord, my rock, my fortress, my deliverer,
Do you know when mountain goats are born, or watch for the birth pangs of deer,
The high mountains are for wild goats; the rocky cliffs, a refuge for badgers.
May their leaders be cast over the cliff, so that they hear that my speeches are pleasing.
The wicked spies on the righteous and seeks to kill him.
Friends and companions shun my disease; my neighbors stand far off.
Saul chose three thousand of Israel, of whom two thousand remained with him in Michmash and in the hill country of Bethel, and one thousand were with Jonathan in Gibeah of Benjamin. He sent the rest of the army back to their tents.
Saul interrupted his pursuit of David and went to meet the Philistines. This is how that place came to be called the Rock of Divisions.
So Saul went down to the wilderness of Ziph with three thousand of the best warriors of Israel, to search for David in the wilderness of Ziph.