1 Samuel 17:28

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.

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.

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
Now when David’s oldest brother Eliab heard him speaking to the men, his anger burned against David. “Why have you come down here?” he asked. “And with whom did you leave those few sheep in the wilderness? I know your pride and wickedness of heart—you have come down to see the battle!”
KJV
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.
WEB
Eliab his oldest brother heard when he spoke to the men; and Eliab’s anger burned against David, and he said, “Why have you come down? With whom have you left those few sheep in the wilderness? I know your pride and the evil of your heart; for you have come down that you might see the battle.”
ASV
And Eliab his eldest brother heard when he spake unto the men; and Eliab`s anger was kindled against David, and he said, Why art thou come down? and with whom hast thou left those few sheep in the wilderness? I know thy pride, and the naughtiness of thy heart; for thou art come down that thou mightest see the battle.
DARBY
And Eliab, his eldest brother, heard while he spoke to the men; and Eliab's anger was kindled against David, and he said, Why art thou come down? and with whom hast thou left those few sheep in the wilderness? I know thy pride and the naughtiness of thy heart; for thou art come down that thou mightest see the battle.
BLB
And Eliab his oldest brother heard when he spoke to the men, and the anger of Eliab was kindled against David, and he said, “Why [is] this [that] you came down, and with whom have you left those few sheep in the wilderness? I know your pride and the insolence of your heart, for in order you have come down to see the battle.”
ÅB
Eliab, hans eldste bror, hørte hva han talte med mennene om; da ble hans vrede tent opp mot David, og han sa: Hvorfor er du kommet her ned, og til hvem har du overlatt de to-tre sauene der i ørkenen? Jeg kjenner ditt overmot og ditt hjertes ondskap; det er for å se på striden du er kommet her ned.
OTB
Nå hørte Eliab, hans eldste bror, da han talte til mennene; og Eliabs vrede brant mot David, og han sa: "Hvorfor har du kommet ned? Og med hvem har du latt de få sauene i ørkenen? Jeg kjenner ditt hovmod og ditt hjertes ondskap, for du har kommet ned for å se slaget."
B1930
Eliab, hans eldste bror, hørte hvad han talte med mennene om; da optendtes hans vrede mot David, og han sa: Hvorfor er du kommet her ned, og til hvem har du overlatt de to-tre får der i ørkenen? Jeg kjenner ditt overmot og ditt hjertes ondskap; det er for å se på striden du er kommet her ned.

Study notes (Tyndale)

Original text and word study

Cross references