1 Samuel 23:7-29 CSB

7 When it was reported to Saul that David had gone to Keilah, he said, "God has handed him over to me, for he has trapped himself by entering a town with barred gates."
8 Then Saul summoned all the troops to go to war at Keilah and besiege David and his men.
9 When David learned that Saul was plotting evil against him, he said to Abiathar the priest, "Bring the ephod."
10 Then David said, "Lord God of Israel, Your servant has heard that Saul intends to come to Keilah and destroy the town because of me.
11 Will the citizens of Keilah hand me over to him? Will Saul come down as Your servant has heard? Lord God of Israel, please tell Your servant." The Lord answered, "He will come down."
12 Then David asked, "Will the citizens of Keilah hand me and my men over to Saul?" "They will," the Lord responded.
13 So David and his men, numbering about 600, left Keilah at once and moved from place to place. When it was reported to Saul that David had escaped from Keilah, he called off the expedition.
14 David then stayed in the wilderness strongholds and in the hill country of the Wilderness of Ziph. Saul searched for him every day, but God did not hand David over to him.

A Renewed Covenant

15 David was in the Wilderness of Ziph in Horesh when he saw that Saul had come out to take his life.

References for 1 Samuel 23:15

      16 Then Saul's son Jonathan came to David in Horesh and encouraged him in [his faith in] God,a

      References for 1 Samuel 23:16

          17 saying, "Don't be afraid, for my father Saul will never lay a hand on you. You yourself will be king over Israel,b and I'll be your second-in-command. Even my father Saul knows it is true."

          References for 1 Samuel 23:17

            • c 23:17 - 1 Sm 16:1-13; 24:20-22
              18 Then the two of them made a covenant in the Lord's presence.c Afterwards, David remained in Horesh, while Jonathan went home.

              References for 1 Samuel 23:18

                • d 23:18 - 1 Sm 18:3; 20:12-17; 20:42

                  David's Narrow Escape

                  19 Some Ziphites came up to Saul at Gibeah and said, "David isd hiding among us in the strongholds in Horesh on the hill of Hachilah south of Jeshimon.

                  References for 1 Samuel 23:19

                    • e 23:19 - Lit Is David not . . . Jeshimon?
                    • f 23:19 - 1 Sm 26:1; Ps 54 superscription
                      20 Now, whenever the king wants to come down, let him come down. Our part will be to hand him over to the king."
                      21 "May you be blessed by the Lord," replied Saul, "for you have taken pity on me
                      22 Go and check again. Investigate and watch carefully where he goese and who has seen him there; they tell me he is extremely cunning.

                      References for 1 Samuel 23:22

                        • g 23:22 - Lit watch his place where his foot will be
                          23 Look and find out all the places where he hides. Then come back to me with accurate information, and I'll go with you. If it turns out he really is in the region, I'll search for him among all the clansf of Judah."

                          References for 1 Samuel 23:23

                              24 So they went to Ziph ahead of Saul. Now David and his men were in the wilderness near Maon in the Arabah south of Jeshimon,
                              25 and Saul and his men went to look for [him]. When David was told about it, he went down to the rock and stayed in the Wilderness of Maon. Saul heard of this and pursued David there.
                              26 Saul went along one side of the mountain and David and his men went along the other side. Even though David was hurrying to get away from Saul, Saul and his men were closing in on David and his men to capture them.
                              27 Then a messenger came to Saul saying, "Come quickly, because the Philistines have raided the land!"
                              28 So Saul broke off his pursuit of David and went to engage the Philistines. Therefore, that place was named the Rock of Separation.
                              29 g From there David went up and stayed in the strongholds of En-gedi.

                              References for 1 Samuel 23:29

                                • i 23:29 - 1 Sm 24:1 in Hb