"“Let my prayer come before Thee: Incline Thine ear unto my cry; For my soul is full of troubles: And my life draweth nigh unto the grave.” Psalm 88:2, 3 . PK 341.1"
"I coveted death as a release from the responsibilities that were crowding upon me. At length the sweet peace I had so long enjoyed left me, and despair again pressed upon my soul. My prayers all seemed vain, and my faith was gone. Words of comfort, reproof, or encouragement were alike to me; for it seemed that no one could understand me but God, and He had forsaken me. The company of believers in Portland were ignorant concerning the exercises of my mind that had brought me into this state of despondency; but they knew that for some reason my mind had become depressed, and they felt that this was sinful on my part, considering the gracious manner in which the Lord had manifested Himself to me. 1T 63.3"
Both passages express the act of prayer and crying out to God. EGW's passage mentions her prayers seeming vain, which aligns with the need for God to incline his ear to the cry in Psalm 88:2.
"“Let my prayer come before Thee: Incline Thine ear unto my cry; For my soul is full of troubles: And my life draweth nigh unto the grave.” Psalm 88:2, 3 . PK 341.1"
"I feared that God had taken His favor from me forever. As I thought of the light that had formerly blessed my soul, it seemed doubly precious in contrast with the darkness that now enveloped me. Meetings were held at my father's house, but my distress of mind was so great that I did not attend them for some time. My burden grew heavier until the agony of my spirit seemed more than I could bear. 1T 64.1"
Both passages describe a feeling of isolation and darkness. While EGW doesn't explicitly mention friends being put far away, the overall sense of being enveloped in darkness and distress aligns with the sentiment in Psalm 88:18.