7 And it is declared to Saul that David hath come in to Keilah, and Saul saith, 'God hath made him known for my hand, for he hath been shut in, to enter into a city of doors and bar.' 8 And Saul summoneth the whole of the people to battle, to go down to Keilah, to lay siege unto David and unto his men. 9 And David knoweth that against him Saul is devising the evil, and saith unto Abiathar the priest, 'Bring nigh the ephod.' 10 And David saith, 'Jehovah, God of Israel, Thy servant hath certainly heard that Saul is seeking to come in unto Keilah, to destroy the city on mine account. 11 Do the possessors of Keilah shut me up into his hand? doth Saul come down as Thy servant hath heard? Jehovah, God of Israel, declare, I pray Thee, to Thy servant.' And Jehovah saith, 'He doth come down.' 12 And David saith, 'Do the possessors of Keilah shut me up, and my men, into the hand of Saul?' And Jehovah saith, 'They shut 'thee' up.' 13 And David riseth—and his men—about six hundred men, and they go out from Keilah, and go up and down where they go up and down; and to Saul it hath been declared that David hath escaped from Keilah, and he ceaseth to go out.

Matthew Henry's Commentary on 1 Samuel 23:7-13

Commentary on 1 Samuel 23:7-13

(Read 1 Samuel 23:7-13)

Well might David complain of his enemies, that they rewarded him evil for good, and that for his love they were his adversaries. Christ was used thus basely. David applied to his great Protector for direction. No sooner was the ephod brought him than he made use of it. We have the Scriptures in our hands, let us take advice from them in doubtful cases. Say, Bring hither the Bible. David's address to God is very solemn, also very particular. God allows us to be so in our addresses to him; Lord, direct me in this matter, about which I am now at a loss. God knows not only what will be, but what would be, if it were not hindered; therefore he knows how to deliver the godly out of temptation, and how to render to every man according to his works.