"The Ziphites, into whose wild regions David went from Keilah, sent word to Saul in Gibeah that they knew where David was hiding, and that they would guide the king to his retreat. But David, warned of their intentions, changed his position, seeking refuge in the mountains between Maon and the Dead Sea. PP 661.1"
"Then came up the Ziphites to Saul to Gibeah, saying, Doth not David hide himself with us in strong holds in the wood, in the hill of Hachilah, which is on the south of Jeshimon?"
EGW retells the story from 1 Samuel 23:19, summarizing the events and locations. It's more than a thematic parallel; it's a direct recounting of the biblical narrative.
"Again word was sent to Saul, “Behold, David is in the wilderness of Engedi. Then Saul took three thousand chosen men out of all Israel, and went to seek David and his men upon the rocks of the wild goats.” David had only six hundred men in his company, while Saul advanced against him with an army of three thousand. In a secluded cave the son of Jesse and his men waited for the guidance of God as to what should be done. As Saul was pressing his way up the mountains, he turned aside, and entered, alone, the very cavern in which David and his band were hidden. When David's men saw this they urged their leader to kill Saul. The fact that the king was now in their power was interpreted by them as certain evidence that God Himself had delivered the enemy into their hand, that they might destroy him. David was tempted to take this view of the matter; but the voice of conscience spoke to him, saying, “Touch not the anointed of the Lord.” PP 661.2"
"And he came to the sheepcotes by the way, where was a cave; and Saul went in to cover his feet: and David and his men remained in the sides of the cave."
The EGW passage recounts the story of David and Saul in the cave of Engedi, directly referencing Saul's entry into the cave. The verse from 1 Samuel 24:3 provides the biblical basis for this event, making the connection explicit.
"David's men were still unwilling to leave Saul in peace, and they reminded their commander of the words of God, “Behold, I will deliver thine enemy into thine hand, that thou mayest do to him as it shall seem good unto thee. Then David arose, and cut off the skirt of Saul's robe privily.” But his conscience smote him afterward, because he had even marred the garment of the king. PP 661.3"
"And the men of David said unto him, Behold the day of which the Lord said unto thee, Behold, I will deliver thine enemy into thine hand, that thou mayest do to him as it shall seem good unto thee. Then David arose, and cut off the skirt of Saul’s robe privily."
The EGW passage quotes David's men and David's action of cutting off Saul's skirt. The verse from 1 Samuel 24:4 contains the exact quote and action, making this an explicit allusion.