"time thought me to be dying. She wished to purchase a burial robe for me, but my mother said, Not yet; for something told her that I would not die. 1T 10.2"
"When Jesus heard that, he said, This sickness is not unto death, but for the glory of God, that the Son of God might be glorified thereby."
Both passages involve a situation where someone is expected to die, but there is a sense that death will not occur. In John 11:4, Jesus states Lazarus's sickness is not unto death. In EGW's passage, her mother has a feeling she will not die. The connection is thematic, based on the anticipation of death being averted.
"The thought of carrying my misfortune through life was insupportable. I could see no pleasure in my existence. I did not wish to live, and yet feared to die, for I was unprepared. Friends who visited us looked with pity upon me, and advised my parents to prosecute the father of the girl who had, as they said, ruined me. But my mother was for peace; she said that if such a course would bring me back my health and natural looks, there would be something gained; but as this was impossible, it was best not to make enemies by following such advice. 1T 10.4"
"If it be possible, as much as lieth in you, live peaceably with all men."
The EGW passage describes the mother's desire for peace and avoidance of conflict, which aligns with the principle of living peaceably with all men as stated in Romans 12:18.
"Wherefore is light given to him that is in misery, and life unto the bitter in soul;"
The EGW passage expresses a desire for death due to suffering, mirroring the sentiment in Job 3:20, which questions why life is given to those in misery.