“And it came to pass afterward, that David's heart smote him, because he had cut off Saul's skirt.”
King James Version (KJV)
24:3 Went in - To sleep there: Saul being a military man, used to sleep with his soldiers upon the ground. And it is not improbable, that being weary with his eager and almost incessant pursuit, first of David, then of the Philistines, and now of David again, he both needed and desired some sleep, God also disposing him thereto, that David might have this eminent occasion to demonstrate his integrity to Saul, and to all Israel. Of the cave - For that there were vast caves in those parts is affirmed, not only by Josephus, but also by Heathen authors; Strabo writes of one which could receive four thousand men.
24:4 Behold, &c. - Not that God had said these words, or made any such promise; but they put this construction upon those promises which God had made to him, of delivering him from all his enemies, and carrying him through all difficulties to the throne. This promise they conceived put him under an obligation of taking all opportunities which God put into his hand for their accomplishment.