1 Samuel 17:28

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.”

Read 1 Samuel 17:28 Using Other Translations

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.
Now Eliab his eldest brother heard when he spoke to the men. And Eliab's anger was kindled against David, and he said, "Why have you come down? And with whom have you left those few sheep in the wilderness? I know your presumption and the evil of your heart, for you have come down to see the battle."
But when David’s oldest brother, Eliab, heard David talking to the men, he was angry. “What are you doing around here anyway?” he demanded. “What about those few sheep you’re supposed to be taking care of? I know about your pride and deceit. You just want to see the battle!”