"There was a ring of fearlessness in his tone, a look of triumph and rejoicing upon his fair countenance. This speech, given in a clear, musical voice, rang out on the air, and was distinctly heard by the listening thousands marshaled for war. The anger of Goliath was roused to the very highest heat. In his rage he pushed up the helmet that protected his forehead and rushed forward to wreak vengeance upon his opponent. The son of Jesse was preparing for his foe. “And it came to pass, when the Philistine arose, and came and drew nigh to meet David, that David hasted, and ran toward the army to meet the Philistine. And David put his hand in his bag, and took thence a stone, and slang it, and smote the Philistine in the forehead, that the stone sunk into his forehead; and he fell upon his face to the earth.” PP 648.1"
"Then said David to the Philistine, Thou comest to me with a sword, and with a spear, and with a shield: but I come to thee in the name of the Lord of hosts, the God of the armies of Israel, whom thou hast defied."
The EGW passage describes the events surrounding David's confrontation with Goliath, including David's speech and the subsequent action, which is thematically linked to 1 Samuel 17:45.
"Amazement spread along the lines of the two armies. They had been confident that David would be slain; but when the stone went whizzing through the air, straight to the mark, they saw the mighty warrior tremble, and reach forth his hands, as if he were struck with sudden blindness. The giant reeled, and staggered, and like a smitten oak, fell to the ground. David did not wait an instant. He sprang upon the prostrate form of the Philistine, and with both hands laid hold of Goliath's heavy sword. A moment before, the giant had boasted that with it he would sever the youth's head from his shoulders and give his body to the fowls of the air. Now it was lifted in the air, and then the head of the boaster rolled from his trunk, and a shout of exultation went up from the camp of Israel. PP 648.2"
"And David put his hand in his bag, and took thence a stone, and slang it, and smote the Philistine in his forehead, that the stone sunk into his forehead; and he fell upon his face to the earth."
EGW describes the event in detail, closely following the narrative in 1 Samuel 17:49. While not a direct quote, the description is clearly based on the biblical account.
"Therefore David ran, and stood upon the Philistine, and took his sword, and drew it out of the sheath thereof, and slew him, and cut off his head therewith. And when the Philistines saw their champion was dead, they fled."
The EGW passage directly recounts and expands upon the biblical narrative of David slaying Goliath, including specific details like David using Goliath's sword to cut off his head. It's more than a thematic parallel; it's a retelling of the same event.
"The Philistines were smitten with terror, and the confusion which ensued resulted in a precipitate retreat. The shouts of the triumphant Hebrews echoed along the summits of the mountains, as they rushed after their fleeing enemies; and they “pursued the Philistines, until thou come to the valley, and to the gates of Ekron. And the wounded of the Philistines fell down by the way to Shaaraim, even unto Gath, and unto Ekron. And the children of Israel returned from chasing after the Philistines, and they spoiled their tents. And David took the head of the Philistine, and brought it to Jerusalem; but he put his armor in his tent.” PP 648.3"
"And the men of Israel and of Judah arose, and shouted, and pursued the Philistines, until thou come to the valley, and to the gates of Ekron. And the wounded of the Philistines fell down by the way to Shaaraim, even unto Gath, and unto Ekron."
EGW directly quotes 1 Samuel 17:52, making this an explicit allusion rather than a thematic parallel. The context is also the same.