
π 1 Samuel 23 Explained: Keilah's Rescue and the Ziphites' Betrayal
A town he has never set foot in is under attack. David asks God what to do before he does anything else.
1 Samuel 23 explained is the chapter where David starts acting like the king he will one day be, even while he is still a fugitive with a price on his head. He rescues a town that owes him nothing, inquires of the LORD through a priest who barely escaped with his life, and gets betrayed anyway, twice, by people he never harmed and by people he just saved.
Maybe you have done the right thing for someone and had it cost you instead of them.
- β Why did David risk his own men to save a town he had no connection to?
- β What was the ephod, and how did it actually answer David's questions?
- β Did God lie when He said the men of Keilah would hand David over?
- β Why did the Ziphites turn David in after Jonathan had just visited him there?
π Twice in this chapter David is one report away from being caught, and twice something outside his control is the only reason he is not.
This walkthrough goes through the whole chapter in order: the rescue of Keilah, the ephod Abiathar carries out of the ruins of Nob, Saul's trap that never closes, Jonathan's last recorded visit with David, the Ziphites selling out the man they had every reason to leave alone, and the Philistine raid that breaks up a chase Saul was about to win.
What Happened Just Before This Chapter
1 Samuel 22 ended with Saul destroying the entire town of Nob over a lie David told to survive, and with Abiathar, the one priest who escaped the slaughter, fleeing straight to David's camp. David took him in on the spot, with no hesitation and no excuse for what his own silence had helped cause.
1 Samuel 23 explained picks up with David still camped with his growing band of men, now carrying the weight of what happened at Nob and, as this chapter reveals, a new tool he did not have before: a priest with an ephod, and a direct way to ask God questions and get an answer.
1 Samuel 23 Explained Verse by Verse
1. David Asks Before He Acts: the Rescue of Keilah (verses 1 to 5)
Word reaches David's camp about trouble in a town he has no personal stake in.
"Then they told David, saying, Behold, the Philistines fight against Keilah, and they rob the threshingfloors."
Before David moves a single man, he stops to ask.
"Therefore David enquired of the LORD, saying, Shall I go and smite these Philistines? And the LORD said unto David, Go, and smite the Philistines, and save Keilah."
π This is the first time in the whole story that David inquires of the LORD before acting, rather than simply reacting to whatever Saul does next. A fugitive with four hundred desperate men to feed has every reason to keep his head down. David asks anyway, and gets a yes.
His own men are not nearly as convinced.
"And David's men said unto him, Behold, we be afraid here in Judah: how much more then if we come to Keilah against the armies of the Philistines?"
π‘ Their objection is reasonable. They are already hiding from one army, Saul's, inside their own country. Marching out to fight a second army, the Philistines, on purpose, sounds like trading one danger for two. David does not override them with his own authority. He goes back and asks again.
"Then David enquired of the LORD yet again. And the LORD answered him and said, Arise, go down to Keilah; for I will deliver the Philistines into thine hand."
"So David and his men went to Keilah, and fought with the Philistines, and brought away their cattle, and smote them with a great slaughter. So David saved the inhabitants of Keilah."
π David answers his frightened men's fear with a second prayer, not a speech. The second answer is more specific than the first, a promise of victory, not just permission, and it is enough to move men who were afraid a moment earlier.
2. Abiathar Arrives, and Saul Reads Providence Backwards (verses 6 to 8)
The narrator pauses the action for one verse to explain a detail that matters for everything that follows in this chapter.
"And it came to pass, when Abiathar the son of Ahimelech fled to David to Keilah, that he came down with an ephod in his hand."
π‘ Out of an entire town of priests slaughtered at Nob, one man and one ephod survive, and both end up with David. The ephod kept at Nob since David's visit there in 1 Samuel 21 now travels with him as the one working link he has left to a priest's access to God.
Saul, meanwhile, hears where David has gone and draws the wrong conclusion.
"And it was told Saul that David was come to Keilah. And Saul said, God hath delivered him into mine hand; for he is shut in, by entering into a town that hath gates and bars."
"And Saul called all the people together to war, to go down to Keilah, to besiege David and his men."
β οΈ Saul calls a town with gates and bars a trap God set for him, when it is actually the town David just rescued at God's own direction. He is reading his own ambition into providence, mistaking David being in range for David being delivered. The chapter is about to show how wrong that read is.
3. The Ephod Speaks: Four Questions, Two Answers (verses 9 to 13)
Word of Saul's plan reaches David before Saul ever arrives.
"And David knew that Saul secretly practised mischief against him; and he said to Abiathar the priest, Bring hither the ephod."
David's first move, again, is not to run. It is to ask.
"Then said David, O LORD God of Israel, thy servant hath certainly heard that Saul seeketh to come to Keilah, to destroy the city for my sake. Will the men of Keilah deliver me up into his hand? will Saul come down, as thy servant hath heard? O LORD God of Israel, I beseech thee, tell thy servant. And the LORD said, He will come down."
The second half of David's question gets an answer just as direct, and far harder to hear.
"Then said David, Will the men of Keilah deliver me and my men into the hand of Saul? And the LORD said, They will deliver thee up."
β οΈ The people David just saved from the Philistines would hand him over to Saul without a second thought. No ingratitude in Scripture is stated more plainly than this. David does not get a vision or a sign. He gets a straight yes to a question he almost certainly did not want answered that way.
So he leaves before it can happen.
"Then David and his men, which were about six hundred, arose and departed out of Keilah, and went whithersoever they could go. And it was told Saul that David was escaped from Keilah; and he forbare to go forth."
π‘ David's camp has grown from the four hundred men of the cave of Adullam to six hundred here. Saul calls off the siege he never got to start, and the trap he was so sure of closes on nothing at all.
4. Hunted in the Wilderness, and Jonathan's Last Visit (verses 14 to 18)
With Keilah no longer safe, David goes back to the kind of country that has kept him alive before.
"And David abode in the wilderness in strong holds, and remained in a mountain in the wilderness of Ziph. And Saul sought him every day, but God delivered him not into his hand."
π "Saul sought him every day" and "God delivered him not into his hand" sit in the same sentence. The chapter does not pretend the danger ever lets up. It simply states, as a plain fact alongside the danger, that it never actually lands.
In the middle of that daily hunt, one visitor finds David that Saul never expected.
"And Jonathan Saul's son arose, and went to David into the wood, and strengthened his hand in God. And he said unto him, Fear not: for the hand of Saul my father shall not find thee; and thou shalt be king over Israel, and I shall be next unto thee; and that also Saul my father knoweth."
π‘ Jonathan walks into enemy ground, his own father's manhunt, to say two things: do not be afraid, and you will be king. The covenant Jonathan made with David back in 1 Samuel 18 has cost him his father's favor and his own claim to the throne, and here he confirms he already knows it and accepts it.
"And they two made a covenant before the LORD: and David abode in the wood, and Jonathan went to his house."
β οΈ This is the last time Scripture records David and Jonathan together while both are alive. No dramatic farewell marks it as the last meeting, the way the goodbye in the field in 1 Samuel 20 did. They simply renew a promise and go their separate ways, neither of them knowing it is the final time.
5. The Ziphites Sell Him Out (verses 19 to 23)
The relief of Jonathan's visit does not last long. The men who live in Ziph go straight to Saul.
"Then came up the Ziphites to Saul to Gibeah, saying, Doth not David hide himself with us in strong holds in the wood, in the hill of Hachilah, which is on the south of Jeshimon? Now therefore, O king, come down according to all the desire of thy soul to come down; and our part shall be to deliver him into the king's hand."
β οΈ Unlike the people of Keilah, the Ziphites owe David nothing and have no reason to fear him. They volunteer the information with no pressure applied, down to the exact hill where he is hiding. Psalm 54 carries a traditional note tying it to this exact betrayal, and its opening lines read like a prayer prayed in this precise moment.
"Save me, O God, by thy name, and judge me by thy strength."
"For strangers are risen up against me, and oppressors seek after my soul: they have not set God before them."
Saul's reply to the men who just handed him his best chance yet is striking.
"And Saul said, Blessed be ye of the LORD; for ye have compassion on me."
π‘ Saul invokes the LORD's blessing on men helping him hunt down a man he knows God has already chosen to be king. He then sends them back to confirm the exact lurking places before he commits his own men to the chase, a cautious, calculated move from a king who has been embarrassed before.
6. Surrounded at Maon, Until the Philistines Interrupt (verses 24 to 28)
David has already moved on by the time Saul arrives at Ziph, down into the wilderness of Maon, but Saul is not far behind.
"And Saul went on this side of the mountain, and David and his men on that side of the mountain: and David made haste to get away for fear of Saul; for Saul and his men compassed David and his men round about to take them."
π This is the closest Saul comes to capturing David anywhere in this chapter. Two groups of men circling the same mountain, each one aware of the other, with no ephod question and no clever trick left to change it. Then something neither side arranged interrupts the whole chase.
"But there came a messenger unto Saul, saying, Haste thee, and come; for the Philistines have invaded the land. Wherefore Saul returned from pursuing after David, and went against the Philistines: therefore they called that place Selahammahlekoth."
π‘ Selahammahlekoth means the rock of division, or the rock of escape, and the place keeps that name because of what almost happened there and did not. Saul does not choose to let David go. A war he has no control over pulls him away at the one moment a choice would have mattered.
7. Engedi: Where the Chapter Leaves Him (verse 29)
The chase ends, for now, and David moves on to ground that will shape the very next chapter.
"And David went up from thence, and dwelt in strong holds at Engedi."
π‘ Engedi sits near the Dead Sea, a region of caves and cliffs that will give David exactly the kind of hiding place the next chapter needs, and sets up what happens the next time Saul and David end up this close to each other.
Hard Questions 1 Samuel 23 Raises
Did God lie when He said the men of Keilah would deliver David to Saul, since David left and it never actually happened? What the text says: verse 12 has the LORD answer David's direct question, "They will deliver thee up," with no qualifier attached in the sentence itself. How this is read: most readers treat this as a true answer to the specific situation David asked about, what would happen if he stayed in Keilah under Saul's siege, not an unconditional prediction of a fixed future. Because David heard the answer and left, the precise situation it described never came to pass. Jesus uses the same kind of conditional statement in Matthew 11:21, saying Tyre and Sidon would have repented under certain conditions that never actually occurred, and Scripture does not treat that as a false statement either.
Why would the men of Keilah hand over the man who had just saved their town from the Philistines? What the text says: the chapter does not explain their reasoning, only that David inquired whether they would do it and received a yes. How this is read: fear of Saul's army sitting outside their gates is the most common explanation offered. A rescued town still has to live under the king's rule after its rescuer leaves, and self preservation can outweigh gratitude when a siege is the alternative.
Was Jonathan's statement that he would be "next unto" David as king ever fulfilled, since Jonathan died before David took the throne? What the text says: verse 17 records Jonathan saying David will be king and he will be next to him, adding that Saul himself already knows it. How this is read: Jonathan dies in battle before David's coronation, so this was never fulfilled as a literal second in command position. Most readers take it as Jonathan expressing genuine hope and covenant loyalty in that moment, not a guaranteed prophecy, the same way a person can sincerely mean a promise about the future without every detail of it coming true exactly as pictured.
Does the Philistine raid that interrupts Saul's pursuit at Maon count as God's intervention, or just a coincidence of timing? What the text says: verse 27 simply reports a messenger arriving with news of a Philistine invasion, with no statement that God caused the timing. How this is read: the chapter has already shown David repeatedly asking God for direction and receiving it, which shapes how most readers view this final rescue even without an explicit "the LORD sent this." The narrative places an ordinary military report at the exact moment it is needed, and readers who see God's hand throughout David's story generally see it here too, while the text itself states only the bare fact.
Top Verses From 1 Samuel 23
1. 1 Samuel 23:2
"Therefore David enquired of the LORD, saying, Shall I go and smite these Philistines? And the LORD said unto David, Go, and smite the Philistines, and save Keilah."
A fugitive with no kingdom yet acts like a king should, asking before he moves instead of moving and asking forgiveness later.
2. 1 Samuel 23:12
"Then said David, Will the men of Keilah deliver me and my men into the hand of Saul? And the LORD said, They will deliver thee up."
The town David just rescued would have handed him to his enemy without hesitation. Few verses in Scripture state human ingratitude this plainly.
3. 1 Samuel 23:14
"And David abode in the wilderness in strong holds, and remained in a mountain in the wilderness of Ziph. And Saul sought him every day, but God delivered him not into his hand."
The danger and the deliverance sit in the same breath. Saul never stops hunting, and David never gets caught.
4. 1 Samuel 23:16 and 17
"And Jonathan Saul's son arose, and went to David into the wood, and strengthened his hand in God. And he said unto him, Fear not: for the hand of Saul my father shall not find thee; and thou shalt be king over Israel, and I shall be next unto thee."
Friendship that costs the friend something real, walking into his own father's manhunt just to remind David he is not alone.
5. 1 Samuel 23:27 and 28
"But there came a messenger unto Saul, saying, Haste thee, and come; for the Philistines have invaded the land. Wherefore Saul returned from pursuing after David, and went against the Philistines: therefore they called that place Selahammahlekoth."
The closest call in this whole chapter, broken up by a war neither man started or controlled.
Frequently Asked Questions About 1 Samuel 23
What happens in 1 Samuel 23?
David inquires of the LORD and rescues the town of Keilah from a Philistine raid, then learns through Abiathar's ephod that both Saul and the men of Keilah would betray him if he stayed. He flees to the wilderness of Ziph, where Jonathan visits him one last time, then is betrayed by the Ziphites and nearly surrounded by Saul at Maon before a Philistine invasion forces Saul to break off the chase.
Why did David ask the LORD before rescuing Keilah?
Verses 1 and 2 show David inquiring before committing his men to battle, and he asks again in verse 4 when his own men are afraid. Asking first, rather than reacting, marks a shift in how David handles danger compared to earlier chapters.
Did God lie about the men of Keilah handing David over, since it never happened?
Verse 12 answers David's exact question about what would happen if he stayed. Since David left Keilah because of the answer, the specific situation the answer described never actually occurred, which most readers treat as a conditional answer rather than a broken prophecy.
Who was Abiathar, and why did he bring an ephod?
Verse 6 identifies him as the priest who escaped the massacre at Nob in the previous chapter carrying an ephod with him. The ephod became David's way of inquiring of the LORD for direct answers throughout the rest of this chapter.
Did Saul really believe God had delivered David to him at Keilah?
Verse 7 records Saul saying exactly that, reasoning that a walled town with gates and bars had trapped David for him. The chapter shows the opposite is true: David escapes before Saul ever reaches the city.
What did Jonathan mean when he told David he would be king?
Verse 17 has Jonathan say David will be king and he will be next to him, adding that Saul already knows it too. Jonathan dies before David takes the throne, so most readers understand this as Jonathan expressing loyalty and hope rather than a guaranteed role he expected to live out.
Who were the Ziphites, and why did they betray David?
Verses 19 and 20 show men from Ziph, the region where David was hiding, volunteering his exact location to Saul with no apparent pressure. The text does not state their motive, though currying favor with the reigning king is the most commonly offered explanation.
What does Selahammahlekoth mean?
Verse 28 names the place where Saul broke off his pursuit of David, Selahammahlekoth, meaning the rock of division or the rock of escape. It marks the exact spot where a Philistine invasion interrupted the closest Saul ever came to catching David.
Is this the last time David and Jonathan see each other?
Verse 18 records their covenant in the wood as the final meeting Scripture describes between them while both were alive. No farewell marks it as their last, and they simply part ways after renewing their promise.
What happens right after 1 Samuel 23?
David settles at Engedi, where Saul, now free of the Philistine threat, resumes the hunt and corners David in a cave, setting up the moment David has the chance to kill Saul and chooses not to.
Final Thoughts
1 Samuel 23 is the chapter where David starts looking less like a man on the run and more like the king he will become.
π Asking first changes what a crisis looks like. David inquires of the LORD twice before rescuing Keilah and twice more before leaving it, and every answer arrives before the danger does, not after.
π Doing right by people does not guarantee they will do right by you. Keilah is saved and still ready to hand David over. The Ziphites were never saved by him at all and turn him in anyway. Both betrayals are real, and David keeps moving forward without either one stopping him.
David ends this chapter alive at Engedi, saved at Maon by a Philistine invasion he had nothing to do with. Saul ends it having come within reach of David twice in one chapter and catching him neither time.
So here is your one next step.
The next time you do the right thing and it is met with betrayal instead of gratitude, ask what David asked first, not last: what does God actually say to do next.



