1 Samuel 17:12-30 King James Version (KJV)
12 Now David was the son of that Ephrathite of Bethlehemjudah, whose name was Jesse; and he had eight sons: and the man went among men for an old man in the days of Saul.
13 And the three eldest sons of Jesse went and followed Saul to the battle: and the names of his three sons that went to the battle were Eliab the firstborn, and next unto him Abinadab, and the third Shammah.
14 And David was the youngest: and the three eldest followed Saul.
15 But David went and returned from Saul to feed his father's sheep at Bethlehem.
16 And the Philistine drew near morning and evening, and presented himself forty days.
17 And Jesse said unto David his son, Take now for thy brethren an ephah of this parched corn, and these ten loaves, and run to the camp of thy brethren;
18 And carry these ten cheeses unto the captain of their thousand, and look how thy brethren fare, and take their pledge.
19 Now Saul, and they, and all the men of Israel, were in the valley of Elah, fighting with the Philistines.
20 And David rose up early in the morning, and left the sheep with a keeper, and took, and went, as Jesse had commanded him; and he came to the trench, as the host was going forth to the fight, and shouted for the battle.
21 For Israel and the Philistines had put the battle in array, army against army.
22 And David left his carriage in the hand of the keeper of the carriage, and ran into the army, and came and saluted his brethren.
23 And as he talked with them, behold, there came up the champion, the Philistine of Gath, Goliath by name, out of the armies of the Philistines, and spake according to the same words: and David heard them.
24 And all the men of Israel, when they saw the man, fled from him, and were sore afraid.
25 And the men of Israel said, Have ye seen this man that is come up? surely to defy Israel is he come up: and it shall be, that the man who killeth him, the king will enrich him with great riches, and will give him his daughter, and make his father's house free in Israel.
26 And David spake to the men that stood by him, saying, What shall be done to the man that killeth this Philistine, and taketh away the reproach from Israel? for who is this uncircumcised Philistine, that he should defy the armies of the living God?
27 And the people answered him after this manner, saying, So shall it be done to the man that killeth him.
28 And Eliab his eldest brother heard when he spake unto the men; and Eliab's anger was kindled against David, and he said, Why camest thou down hither? and with whom hast thou left those few sheep in the wilderness? I know thy pride, and the naughtiness of thine heart; for thou art come down that thou mightest see the battle.
29 And David said, What have I now done? Is there not a cause?
30 And he turned from him toward another, and spake after the same manner: and the people answered him again after the former manner.
1 Samuel 17:12-30 New International Version (NIV)
12 Now David was the son of an Ephrathite named Jesse, who was from Bethlehem in Judah. Jesse had eight sons, and in Saul’s time he was very old. 13 Jesse’s three oldest sons had followed Saul to the war: The firstborn was Eliab; the second, Abinadab; and the third, Shammah. 14 David was the youngest. The three oldest followed Saul, 15 but David went back and forth from Saul to tend his father’s sheep at Bethlehem.
16 For forty days the Philistine came forward every morning and evening and took his stand.
17 Now Jesse said to his son David, “Take this ephah[a] of roasted grain and these ten loaves of bread for your brothers and hurry to their camp. 18 Take along these ten cheeses to the commander of their unit. See how your brothers are and bring back some assurance[b] from them. 19 They are with Saul and all the men of Israel in the Valley of Elah, fighting against the Philistines.”
20 Early in the morning David left the flock in the care of a shepherd, loaded up and set out, as Jesse had directed. He reached the camp as the army was going out to its battle positions, shouting the war cry. 21 Israel and the Philistines were drawing up their lines facing each other. 22 David left his things with the keeper of supplies, ran to the battle lines and asked his brothers how they were. 23 As he was talking with them, Goliath, the Philistine champion from Gath, stepped out from his lines and shouted his usual defiance, and David heard it. 24 Whenever the Israelites saw the man, they all fled from him in great fear.
25 Now the Israelites had been saying, “Do you see how this man keeps coming out? He comes out to defy Israel. The king will give great wealth to the man who kills him. He will also give him his daughter in marriage and will exempt his family from taxes in Israel.”
26 David asked the men standing near him, “What will be done for the man who kills this Philistine and removes this disgrace from Israel? Who is this uncircumcised Philistine that he should defy the armies of the living God?”
27 They repeated to him what they had been saying and told him, “This is what will be done for the man who kills him.”
28 When Eliab, David’s oldest brother, heard him speaking with the men, he burned with anger at him and asked, “Why have you come down here? And with whom did you leave those few sheep in the wilderness? I know how conceited you are and how wicked your heart is; you came down only to watch the battle.”
29 “Now what have I done?” said David. “Can’t I even speak?” 30 He then turned away to someone else and brought up the same matter, and the men answered him as before.