"As Saul's hatred of David increased, he became more and more watchful to find an opportunity to take his life; but none of his plans against the anointed of the Lord were successful. Saul gave himself up to the control of the wicked spirit that ruled over him; while David trusted in Him who is mighty in counsel, and strong to deliver. “The fear of the Lord is the beginning of wisdom” ( Proverbs 9:10 ), and David's prayer was continually directed to God, that he might walk before Him in a perfect way. PP 651.1"
"The fear of the Lord is the beginning of wisdom: and the knowledge of the holy is understanding."
Ellen White directly references Proverbs 9:10 in this passage.
"He that handleth a matter wisely shall find good: and whoso trusteth in the Lord, happy is he."
Both passages connect trusting in the Lord with finding good or being happy. While not a direct quote, the principle of trusting God leading to a positive outcome is present in both.
"captain over a thousand.... But all Israel and Judah loved David.” The people were not slow to see that David was a competent person, and that the affairs entrusted to his hands were managed with wisdom and skill. The counsels of the young man were of a wise and discreet character, and proved to be safe to follow; while the judgment of Saul was at times unreliable, and his decisions were not wise. PP 651.2"
"And David went out whithersoever Saul sent him, and behaved himself wisely: and Saul set him over the men of war, and he was accepted in the sight of all the people, and also in the sight of Saul’s servants."
EGW describes David's wisdom and acceptance by the people, which is a clear parallel to the description in 1 Samuel 18:5. While not a direct quote, the description is clearly based on the biblical account.
"Therefore Saul removed him from him, and made him his captain over a thousand; and he went out and came in before the people."
The EGW passage directly references David being made a captain over a thousand, which is explicitly stated in 1 Samuel 18:13. The surrounding context in EGW elaborates on David's competence, which is implied but not directly stated in the verse.
"Though Saul was ever on the alert for an opportunity to destroy David, he stood in fear of him, since it was evident that the Lord was with him. David's blameless character aroused the wrath of the king; he deemed that the very life and presence of David cast a reproach upon him, since by contrast it presented his own character to disadvantage. It was envy that made Saul miserable and put the humble subject of his throne in jeopardy. What untold mischief has this evil trait of character worked in our world! The same enmity existed in the heart of Saul that stirred the heart of Cain against his brother Abel, because Abel's works were righteous, and God honored him, and his own works were evil, and the Lord could not bless him. Envy is the offspring of pride, and if it is entertained in the heart, it will lead to hatred, and eventually to revenge and murder. Satan displayed his own character in exciting the fury of Saul against him who had never done him harm. PP 651.3"
"Not as Cain, who was of that wicked one, and slew his brother. And wherefore slew he him? Because his own works were evil, and his brother’s righteous."
The EGW passage explicitly references Cain and Abel and their motivations, directly echoing the sentiment expressed in 1 John 3:12.
"The king kept a strict watch upon David, hoping to find some occasion of indiscretion or rashness that might serve as an excuse to bring him into disgrace. He felt that he could not be satisfied until he could take the young man's life and still be justified before the nation for his evil act. He laid a snare for the feet of David, urging him to conduct the war against the Philistines with still greater vigor, and promising, as a reward of his valor, an alliance with the eldest daughter of the royal house. To this proposal David's modest answer was, “Who am I? and what is my life, or my father's family in Israel, that I should be son-in-law to the king?” The monarch manifested his insincerity by wedding the princess to another. PP 651.4"
"For without cause have they hid for me their net in a pit, which without cause they have digged for my soul."
Both passages describe a situation where someone is setting a trap or snare for another person, although the specifics differ. Saul is actively trying to create a situation where David will fail, while Psalm 35:7 speaks more generally about enemies setting traps. The underlying theme of malicious intent and hidden danger connects them.