"The Israelites had stood in silent awe, trembling with hope and fear. When they beheld the slaughter of their enemies, they knew that God had accepted their repentance. Though unprepared for battle, they seized the weapons of the slaughtered Philistines and pursued the fleeing host to Beth-car. This signal victory was gained upon the very field where, twenty years before, Israel had been smitten before the Philistines, the priests slain, and the ark of God taken. For nations as well as for individuals, the path of obedience to God is the path of safety and happiness, while that of transgression leads only to disaster and defeat. The Philistines were now so completely subdued that they surrendered the strongholds which had been taken from Israel and refrained from acts of hostility for many years. Other nations followed this example, and the Israelites enjoyed peace until the close of Samuel's sole administration. PP 591.1"
"And I will set my face against you, and ye shall be slain before your enemies: they that hate you shall reign over you; and ye shall flee when none pursueth you."
EGW illustrates the principle of obedience leading to safety and happiness, and transgression leading to disaster, which is a central theme in Leviticus 26, although the specific verse is not directly referenced.
"That the occasion might never be forgotten, Samuel set up, between Mizpeh and Shen, a great stone as a memorial. He called the name of it Ebenezer, “the stone of help,” saying to the people, “hitherto hath Jehovah helped us.” PP 591.2"
"Then Samuel took a stone, and set it between Mizpeh and Shen, and called the name of it Eben–ezer, saying, Hitherto hath the Lord helped us."
EGW directly quotes 1 Samuel 7:12 regarding the setting up of the Ebenezer stone.