"countenance, and goodly to look to.” As Samuel beheld with pleasure the handsome, manly, modest shepherd boy, the voice of the Lord spoke to the prophet, saying, “Arise, anoint him: for this is he.” David had proved himself brave and faithful in the humble office of a shepherd, and now God had chosen him to be captain of His people. “Then Samuel took the horn of oil, and anointed him in the midst of [from among] his brethren: and the Spirit of the Lord came upon David from that day forward.” The prophet had accomplished his appointed work, and with a relieved heart he returned to Ramah. PP 641.1"
"And he sent, and brought him in. Now he was ruddy, and withal of a beautiful countenance, and goodly to look to. And the Lord said, Arise, anoint him: for this is he."
The EGW passage directly quotes 1 Samuel 16:12, making it a clear and explicit allusion.
"Samuel had not made known his errand, even to the family of Jesse, and the ceremony of anointing David had been performed in secret. It was an intimation to the youth of the high destiny awaiting him, that amid all the varied experiences and perils of his coming years, this knowledge might inspire him to be true to the purpose of God to be accomplished by his life. PP 641.2"
"Then Samuel took the horn of oil, and anointed him in the midst of his brethren: and the Spirit of the Lord came upon David from that day forward. So Samuel rose up, and went to Ramah."
The EGW passage elaborates on the significance of Samuel's anointing of David, emphasizing its role in inspiring David during his future trials. This aligns with the event described in 1 Samuel 16:13, where David is anointed and the Spirit of the Lord comes upon him.