Passage
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.
Nearby Context
1 Samuel 17: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?
1 Samuel 17:27 And the people answered him after this manner, saying, So shall it be done to the man that killeth him.
1 Samuel 17: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.
1 Samuel 17:29 And David said, What have I now done? Is there not a cause?
1 Samuel 17:30 And he turned from him toward another, and spake after the same manner: and the people answered him again after the former manner.
Study Lenses
The verse centers on "sheep", "eliab", "eldest", "brother", "heard", "spake", "anger", and "kindled". It is saying that the verse draws attention to "sheep" and "eliab", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 27's "And the people answered him after this..." into verse 29's "And David said What have I now...", so "sheep" and "eliab" belong inside that flow. In 1 Samuel context, the local focus is covenant, worship, and faithfulness.
A plain takeaway is to answer the verse's own emphasis on "sheep" and "eliab" with trust shaped by these words, not by a vague optimism outside the passage.