"During that four days’ voyage, one and another would occasionally venture to leave their rooms, pale, feeble, and tottering, and make their way on deck. Wretchedness was written on every countenance. Life itself did not seem desirable. We all longed for the rest we could not find, and to see something that would stand still. Personal importance was not much regarded then. We may here learn a lesson on the littleness of man. 4T 289.2"
"They mount up to the heaven, they go down again to the depths: their soul is melted because of trouble. They reel to and fro, and stagger like a drunken man, and are at their wits’ end."
The EGW passage describes the wretchedness and helplessness of people at sea, which parallels the description of people in distress at sea in Psalm 107:26-27.
"the glad sunshine, after the wind and storm, soon awakened cheerfulness and mirth. 4T 289.3"
"For his anger endureth but a moment; in his favour is life: weeping may endure for a night, but joy cometh in the morning."
The EGW passage uses the imagery of sunshine after a storm to evoke a feeling of cheerfulness, which aligns with the Psalm's sentiment of joy coming in the morning after a night of weeping. The connection is more than superficial.
"The last night we were on the boat I felt most grateful to my heavenly Father. I there learned a lesson I shall never forget. God had spoken to my heart in the storm and in the waves and in the calm following. And shall we not worship Him? Shall man set up his will against the will of God? Shall we be disobedient to the commands of so mighty a Ruler? Shall we contend with the Most High, who is the source of all power, and from whose heart flows infinite love and blessing to the creatures of His care? 4T 289.4"
"Then they cry unto the Lord in their trouble, and he bringeth them out of their distresses. He maketh the storm a calm, so that the waves thereof are still. Then are they glad because they be quiet; so he bringeth them unto their desired haven. Oh that men would praise the Lord for his goodness, and for his wonderful works to the children of men!"
The EGW passage directly mirrors the themes of Psalm 107:28-31. Both passages describe a situation where someone experiences a storm, calls upon God, God calms the storm, and the person expresses gratitude and worship. The parallel is strong and meaningful.