7 And news was given to Saul that David had come to Keilah. And Saul said, Now God has given him into my hands; for by going into a walled town with locked doors, he has let himself be shut in. 8 And Saul sent for all the people to come to the fight, and go down to Keilah to make an attack on David and his men. 9 And it was clear to David that Saul had evil designs against him, and he said to Abiathar the priest, Come here with the ephod. 10 Then David said, O Lord, the God of Israel, news has been given to your servant that it is Saul's purpose to come to Keilah and send destruction on the town because of me. 11 And now, is it true, as they have said to me, that Saul is coming? O Lord, the God of Israel, give ear to your servant, and say if these things are so. And the Lord said, He is coming down. 12 Then David said, Will the men of Keilah give me and my men up to Saul? and the Lord said, They will give you up. 13 Then David and his men, about six hundred of them, went out of Keilah, and got away wherever they were able to go. And Saul, hearing that David had got away from Keilah, did not go there.
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.