1 Samuel 13:16

13:16 Saul, his son Jonathan, and the army that remained with them stayed in Gibeah in the territory of Benjamin, while the Philistines camped in Micmash.

1 Samuel 24:3

24:3 He came to the sheepfolds by the road, where there was a cave. Saul went into it to relieve himself.

Now David and his men were sitting in the recesses of the cave.