וַיַּעַן֩ אֶחָ֨ד מֵהַנְּעָרִ֜ים וַיֹּ֗אמֶר הִנֵּ֨ה רָאִ֜יתִי בֵּ֣ן לְיִשַׁי֮ בֵּ֣ית הַלַּחְמִי֒ יֹדֵ֣עַ נַ֠גֵּן וְגִבּ֨וֹר חַ֜יִל וְאִ֧ישׁ מִלְחָמָ֛ה וּנְב֥וֹן דָּבָ֖ר וְאִ֣ישׁ תֹּ֑אַר וַיהוָ֖ה עִמּֽוֹ׃
Then answered one of the young men, and said: ‘Behold, I have seen a son of Jesse the Beth-lehemite, that is skilful in playing, and a mighty man of valour, and a man of war, and prudent in affairs, and a comely person, and the LORD is with him.’
Rashi
That were with Dovid, who sat in the council. Who sat in the Sanhedrin Court. That is [alluded to by the word] wisdom. "He was a leader in three [distinct areas]," He was first in beauty, wisdom and strength. He was the leader in these three categories as it is written "[A man] of understanding of attractive build and a strong soldier."9Shmuel I, 16:18. Rashi is not quoting this verse in its exact order.