"Into the experience of all there come times of keen disappointment and utter discouragement—days when sorrow is the portion, and it is hard to believe that God is still the kind benefactor of His earthborn children; days when troubles harass the soul, till death seems preferable to life. It is then that many lose their hold on God and are brought into the slavery of doubt, the bondage of unbelief. Could we at such times discern with spiritual insight the meaning of God's providences we should see angels seeking to save us from ourselves, striving to plant our feet upon a foundation more firm than the everlasting hills, and new faith, new life, would spring into being. PK 162.1"
"My God, my God, why hast thou forsaken me? why art thou so far from helping me, and from the words of my roaring?"
Both passages deal with feelings of abandonment by God during times of suffering. The EGW passage expands on the experience of feeling forsaken and the potential for spiritual renewal, echoing the sentiment expressed in Psalm 22:1.
"Why died I not from the womb? why did I not give up the ghost when I came out of the belly?"
Both passages express a desire for death as a release from suffering. The EGW passage speaks of times when 'death seems preferable to life,' which aligns with Job's lament in Job 3:11, where he questions why he wasn't stillborn.
"“Let the day perish wherein I was born.” “O that my grief were throughly weighed, And my calamity laid in the balances together!” PK 162.3"
"Let the day perish wherein I was born, and the night in which it was said, There is a man child conceived."
The EGW passage directly quotes Job 3:3.