1 Samuel 30:7-17

7 David said to the priest Abiathar son of Ahimelech, "Bring me the ephod." So Abiathar brought the ephod to David.
8 David inquired of the Lord, "Shall I pursue this band? Shall I overtake them?" He answered him, "Pursue; for you shall surely overtake and shall surely rescue."
9 So David set out, he and the six hundred men who were with him. They came to the Wadi Besor, where those stayed who were left behind.
10 But David went on with the pursuit, he and four hundred men; two hundred stayed behind, too exhausted to cross the Wadi Besor.
11 In the open country they found an Egyptian, and brought him to David. They gave him bread and he ate; they gave him water to drink;
12 they also gave him a piece of fig cake and two clusters of raisins. When he had eaten, his spirit revived; for he had not eaten bread or drunk water for three days and three nights.
13 Then David said to him, "To whom do you belong? Where are you from?" He said, "I am a young man of Egypt, servant to an Amalekite. My master left me behind because I fell sick three days ago.
14 We had made a raid on the Negeb of the Cherethites and on that which belongs to Judah and on the Negeb of Caleb; and we burned Ziklag down."
15 David said to him, "Will you take me down to this raiding party?" He said, "Swear to me by God that you will not kill me, or hand me over to my master, and I will take you down to them."
16 When he had taken him down, they were spread out all over the ground, eating and drinking and dancing, because of the great amount of spoil they had taken from the land of the Philistines and from the land of Judah.
17 David attacked them from twilight until the evening of the next day. Not one of them escaped, except four hundred young men, who mounted camels and fled.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.