"“The secret of the Lord is with them that fear Him.” Psalm 25:14 . Abraham had honored God, and the Lord honored him, taking him into His counsels, and revealing to him His purposes. “Shall I hide from Abraham that thing which I do?” said the Lord. “The cry of Sodom and Gomorrah is great, and because their sin is very grievous, I will go down now, and see whether they have done altogether according to the cry of it, which is come unto me; and if not, I will know.” God knew well the measure of Sodom's guilt; but He expressed Himself after the manner of men, that the justice of His dealings might be understood. Before bringing judgment upon the transgressors He would go Himself, to institute an examination of their course; if they had not passed the limits of divine mercy, He would still grant them space for repentance. PP 139.1"
"The secret of the Lord is with them that fear him; and he will shew them his covenant."
Ellen White directly references Psalms 25:14 in this passage.
"Two of the heavenly messengers departed, leaving Abraham alone with Him whom he now knew to be the Son of God. And the man of faith pleaded for the inhabitants of Sodom. Once he had saved them by his sword, now he endeavored to save them by prayer. Lot and his household were still dwellers there; and the unselfish love that prompted Abraham to their rescue from the Elamites, now sought to save them, if it were God's will, from the storm of divine judgment. PP 139.2"
"And Abraham drew near, and said, Wilt thou also destroy the righteous with the wicked?"
The EGW passage directly refers to Abraham's intercession for Sodom, which is the central theme of Genesis 18:23. It amplifies the verse by providing context and motivation for Abraham's plea.
"even ten righteous persons could be found in it, the city would be spared. PP 139.3"
"And he said, Oh let not the Lord be angry, and I will speak yet but this once: Peradventure ten shall be found there. And he said, I will not destroy it for ten’s sake."
The EGW passage is a direct reference to the specific number of righteous people Abraham bargained for in Sodom, as described in Genesis 18:32. It's a clear and unmistakable allusion.