Then Samuel took the horn of oil
Out of his pocket, which he brought along with him by the direction of God:
and anointed him in the midst of his brethren;
not in the presence of them, they sitting around, or standing by and seeing the ceremony performed; which is not consistent with the secrecy with which Samuel was directed to manage this affair, and which was necessary to observe, to keep it from the knowledge of Saul; and with Eliab's treatment of David afterwards, who would never have addressed him in the manner he did, had he known that he was anointed king, ( 1 Samuel 17:28 ) but the sense is, according to Kimchi and Abarbinel, that he was selected out of them, and separated from them, and privately anointed by Samuel, and at most only his father Jesse present; wherefore some observe, that the words may be rendered, "anointed him from the midst of his brethren" {h}; that is, he took him apart from them, and anointed him:
and the Spirit of the Lord came upon David from that day forward;
not as a spirit of grace and holiness, which probably had come upon him before this time; but a spirit of prophecy, as did on Saul after his unction; and which particularly showed itself in music and poetry, in which he immediately became very eminent, and he was taken notice of for it, and which was the means of bringing him into Saul's court; and a spirit of wisdom and prudence, in civil as well as in sacred things; and a spirit of fortitude, as the Targum, of strength of body, and courage and valour of mind; whereby he was enabled to encounter with the lion and bear, and get the mastery of them; which, with all other gifts of the spirit fitting him for government, he was now endowed with, and which continued with him:
so Samuel rose up and went to Ramah
his native place, and where he resided; that is, after the festival of the peace offerings, to which Jesse and his sons were invited; for the anointing seems to be before that.