1 Samuel 24:3 in the King James Version
And he came to the sheepcotes by the way, where was a cave; and Saul went in to cover his feet: and David and his men remained in the sides of the cave.
Context
2 Then Saul took three thousand chosen men out of all Israel, and went to seek David and his men on the rocks of the wild goats.
3 He came to the sheep pens by the way, where there was a cave; and Saul went in to relieve himself. Now David and his men were staying in the innermost parts of the cave.
4 David’s men said to him, “Behold, the day of which the LORD said to you, ‘Behold, I will deliver your enemy into your hand, and you shall do to him as it shall seem good to you.’” Then David arose and cut off the skirt of Saul’s robe secretly.