Now the Philistines gathered their armies for battle. And they were gathered at Socoh, which belongs to Judah, and encamped between Socoh and Azekah, in Ephes-dammim. And Saul and the men of Israel were gathered, and encamped in the Valley of Elah, and drew up in line of battle against the Philistines. And the Philistines stood on the mountain on the one side, and Israel stood on the mountain on the other side, with a valley between them. And there came out from the camp of the Philistines a champion named Goliath of Gath, whose height was six cubits and a span. He had a helmet of bronze on his head, and he was armed with a coat of mail, and the weight of the coat was five thousand shekels of bronze. And he had bronze armor on his legs, and a javelin of bronze slung between his shoulders. The shaft of his spear was like a weaver's beam, and his spear's head weighed six hundred shekels of iron. And his shield-bearer went before him. He stood and shouted to the ranks of Israel, "Why have you come out to draw up for battle? Am I not a Philistine, and are you not servants of Saul? Choose a man for yourselves, and let him come down to me. 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." And the Philistine said, "I defy the ranks of Israel this day. Give me a man, that we may fight together." When Saul and all Israel heard these words of the Philistine, they were dismayed and greatly afraid.
Now David was the son of an Ephrathite of Bethlehem in Judah, named Jesse, who had eight sons. In the days of Saul the man was already old and advanced in years. The three oldest sons of Jesse had followed Saul to the battle. And the names of his three sons who went to the battle were Eliab the firstborn, and next to him Abinadab, and the third Shammah. David was the youngest. The three eldest followed Saul, but David went back and forth from Saul to feed his father's sheep at Bethlehem. For forty days the Philistine came forward and took his stand, morning and evening.
And Jesse said to David his son, "Take for your brothers an ephah of this parched grain, and these ten loaves, and carry them quickly to the camp to your brothers. Also take these ten cheeses to the commander of their thousand. See if your brothers are well, and bring some token from them."
Now Saul and they and all the men of Israel were in the Valley of Elah, fighting with the Philistines. And David rose early in the morning and left the sheep with a keeper and took the provisions and went, as Jesse had commanded him. And he came to the encampment as the host was going out to the battle line, shouting the war cry. And Israel and the Philistines drew up for battle, army against army. And David left the things in charge of the keeper of the baggage and ran to the ranks and went and greeted his brothers. As he talked with them, behold, the champion, the Philistine of Gath, Goliath by name, came up out of the ranks of the Philistines and spoke the same words as before. And David heard him.
All the men of Israel, when they saw the man, fled from him and were much afraid. And the men of Israel said, "Have you seen this man who has come up? Surely he has come up to defy Israel. And the king will enrich the man who kills him with great riches and will give him his daughter and make his father's house free in Israel."