Commentaries
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.
2-5. David inquired of the Lord—most probably through Gad (2Sa 24:11; 1Ch 21:9), who was present in David's camp (1Sa 22:5), probably by the recommendation of Samuel. To repel unprovoked assaults on unoffending people who were engaged in their harvest operations, was a humane and benevolent service. But it was doubtful how far it was David's duty to go against a public enemy without the royal commission; and on that account he asked, and obtained, the divine counsel. A demur on the part of his men led David to renew the consultation for their satisfaction; after which, being fully assured of his duty, he encountered the aggressors and, by a signal victory, delivered the people of Keilah from further molestation.