David in the Wilderness

231 And they sent word to David, saying, The Philistines are fighting against Keilah and taking the grain from the grain-floors. 2 So David, questioning the Lord, said, Am I to go and make an attack on these Philistines? And the Lord said to David, Go and make an attack on the Philistines so that Keilah may be kept from falling into their hands. 3 And David's men said to him, Even here in Judah we are full of fear: how much more then if we go to Keilah against the armies of the Philistines? 4 Then David put the question to the Lord again, and the Lord answering said, Up! go down to Keilah; for I will give the Philistines into your hands. 5 So David and his men went to Keilah, and had a fight with the Philistines, and took away their cattle, and put them to the sword with great destruction. So David was the saviour of the people of Keilah. 6 Now when Abiathar, the son of Ahimelech, went in flight to David, he came down to Keilah with the ephod in his hand.

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.

Matthew Henry's Commentary on 1 Samuel 23:1-8

Commentary on 1 Samuel 23:1-6

(Read 1 Samuel 23:1-6)

When princes persecute God's people, let them expect vexation on all sides. The way for any country to be quiet, is to let God's church be quiet in it: if Saul fight against David, the Philistines fight against his country. David considered himself the protector of the land. Thus did the Saviour Jesus, and left us an example. Those are unlike David, who sullenly decline to do good, if they are not rewarded for services.

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.