Now the Philistines gathered their armies together to battle, and were gathered at Sochoh, which belongs to Judah; they encamped between Sochoh and Azekah, in Ephes Dammim.
1 Samuel 17:1, NKJV
8 Then he stood and cried out to the armies of Israel, and said to them, “Why have you come out to line up for battle? Am I not a Philistine, and you the servants of Saul? Choose a man for yourselves, and let him come down to me. 9 If he is able to fight with me and kill me, then we will be your servants. But if I prevail against him and kill him, then you shall be our servants and serve us.” 10 And the Philistine said, “I defy the armies of Israel this day; give me a man, that we may fight together.” 11 When Saul and all Israel heard these words of the Philistine, they were dismayed and greatly afraid.
1 Samuel 17:8-12, NKJV
12 Now David was the son of that Ephrathite of Bethlehem Judah, whose name was Jesse, and who had eight sons. And the man was old, advanced in years, in the days of Saul.
But David occasionally went and returned from Saul to feed his father’s sheep at Bethlehem.
1 Samuel 17:15, NKJV