1 Samuel 17:20

17:20 So David got up early in the morning and entrusted the flock to someone else who would watch over it. After loading up, he went just as Jesse had instructed him. He arrived at the camp as the army was going out to the battle lines shouting its battle cry.

1 Samuel 17:28

17:28 When David’s oldest brother Eliab heard him speaking to the men, he became angry with David and said, “Why have you come down here? To whom did you entrust those few sheep in the desert? I am familiar with your pride and deceit! You have come down here to watch the battle!”