"All night the tempest raged, and notwithstanding the precautions that had been taken, the vessel leaked. “The next day they lightened the ship.” Night came again, but the wind did not abate. The storm-beaten ship, with its shattered mast and rent sails, was tossed hither and thither by the fury of the gale. Every moment it seemed that the groaning timbers must give way as the vessel reeled and quivered under the tempest's shock. The leak increased rapidly, and passengers and crew worked continually at the pumps. There was not a moment's rest for any on board. “The third day,” writes Luke, “we cast out with our own hands the tackling of the ship. And when neither sun nor stars in many days appeared, and no small tempest lay on us, all hope that we should be saved was then taken away.” AA 442.1"
"Then the mariners were afraid, and cried every man unto his god, and cast forth the wares that were in the ship into the sea, to lighten it of them. But Jonah was gone down into the sides of the ship; and he lay, and was fast asleep."
Both passages describe lightening a ship during a storm. While the context and specific details differ (Jonah vs. Acts), the core idea of discarding cargo to save the ship is present in both.
"For fourteen days they drifted under a sunless and starless heaven. The apostle, though himself suffering physically, had words of hope for the darkest hour, a helping hand in every emergency. He grasped by faith the arm of Infinite Power, and his heart was stayed upon God. He had no fears for himself; he knew that God would preserve him to witness at Rome for the truth of Christ. But his heart yearned with pity for the poor souls around him, sinful, degraded, and unprepared to die. As he earnestly pleaded with God to spare their lives, it was revealed to him that his prayer was granted. AA 442.2"
"And when neither sun nor stars in many days appeared, and no small tempest lay on us, all hope that we should be saved was then taken away."
EGW directly quotes Acts 27:20.
"God is our refuge and strength, a very present help in trouble."
The EGW passage describes Paul's reliance on God during a crisis, offering hope and help, which aligns with the Psalm's declaration of God as a refuge and help in trouble. The connection is thematic, focusing on God's provision in difficult times.