King James Version (KJV)
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.
Modern English
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.
Hebrew
וַיִּקַּ֣ח שָׁא֗וּל שְׁלֹ֧שֶׁת אֲלָפִ֛ים אִ֥ישׁ בָּח֖וּר מִכָּל־יִשְׂרָאֵ֑ל וַיֵּ֗לֶךְ לְבַקֵּ֤שׁ אֶת־דָּוִד֙ וַֽאֲנָשָׁ֔יו עַל־פְּנֵ֖י צוּרֵ֥י הַיְּעֵלִֽים׃
vayiqaḥ shaʾvl shloshet ʾalapiym ʾiysh baḥvr mikal-yishraʾel vayelek lbaqesh ʾet-david vaʾanashayv ʿal-pney ṣvrey hayʿeliym