"During the three weeks that we were in Rochester, much of the time was spent in prayer. My husband proposed sending to Maine for Elder J. N. Andrews, to Olcott for Brother and Sister Lindsay, and to Roosevelt, requesting those who had faith in God, and felt it their duty, to come and pray for him. These friends came in answer to his call, and for ten days we had special and earnest seasons of prayer. All who engaged in these seasons of prayer were greatly blessed. We were often so refreshed with heavenly showers of grace that we could say, “My cup runneth over.” We could weep and praise God for His rich salvation. LS 171.2"
"Thou preparest a table before me in the presence of mine enemies: thou anointest my head with oil; my cup runneth over."
The EGW passage directly quotes "My cup runneth over" from Psalm 23:5 to describe the feeling of being blessed and filled with God's grace during a time of prayer. This is a clear and intentional reference.
"Those who came from Roosevelt were soon obliged to return to their homes. Brother Andrews and Brother and Sister Lindsay remained. We continued our earnest supplications to heaven. It seemed to be a struggle with the powers of darkness. Sometimes the trembling faith of my husband would grasp the promises of God, and sweet and precious was the victory then enjoyed. LS 171.3"
"For we wrestle not against flesh and blood, but against principalities, against powers, against the rulers of the darkness of this world, against spiritual wickedness in high places."
The EGW passage describes a spiritual struggle, which directly echoes the Ephesians verse about wrestling against spiritual powers. The language used is very similar.
"light of heaven seemed to shine upon us, and I was wrapped in a vision of God's glory. It seemed that I was borne quickly from earth to heaven, where all was health, beauty, and glory. Strains of music fell upon my ear, melodious, perfect, and entrancing. I was permitted to enjoy this scene a while before my attention was called to this dark world. Then my attention was called to things taking place upon this earth. [A portion of the instruction given during this memorable vision, urging the establishment of a health institution by the Seventh- day Adventist denomination, is given in Testimonies for the Church 1:485-495, 553-564 .] I had an encouraging view of the case of my husband. LS 171.4"
"I knew a man in Christ above fourteen years ago, (whether in the body, I cannot tell; or whether out of the body, I cannot tell: God knoweth;) such an one caught up to the third heaven. And I knew such a man, (whether in the body, or out of the body, I cannot tell: God knoweth;) How that he was caught up into paradise, and heard unspeakable words, which it is not lawful for a man to utter."
Both passages describe a person being taken to heaven and experiencing its glory. While the details differ, the core experience is very similar, suggesting a thematic parallel.