Son of God, come down from the cross.” Satan used the same words to Christ in the wilderness—“If Thou be the Son of God.” The chief priests, elders, and scribes mockingly said, “He saved others; Himself He cannot save. If He be the King of Israel, let Him now come down from the cross, and we will believe Him.” The angels who hovered over the scene of Christ's crucifixion were moved to indignation as the rulers derided Him and said, “If He be the Son of God, let Him deliver Himself”. They wished there to come to the rescue of Jesus and deliver Him, but they were not suffered to do so. The object of His mission was not yet accomplished. EW 177.1 As Jesus hung upon the cross during those long hours of agony, He did not forget His mother. She had returned to the terrible scene, for she could not longer remain away from her Son. The last lesson of Jesus was one of compassion and humanity. He looked upon the grief-stricken face of His mother, and then upon His beloved disciple John. He said …
"And saying, Thou that destroyest the temple, and buildest it in three days, save thyself. If thou be the Son of God, come down from the cross."
EGW directly quotes the taunt from Matthew 27:40.
"And when the tempter came to him, he said, If thou be the Son of God, command that these stones be made bread."
EGW directly quotes the temptation from Matthew 4:3.
"Jesus thirsted in His agony, and they gave Him vinegar and gall to drink; but when He tasted it, He refused it. The angels had viewed the agony of their loved Commander until they could behold no longer, and they veiled their faces from the sight. The sun refused to look upon the awful scene. Jesus cried with a loud voice, which struck terror to the hearts of His murderers, “ It is finished .” Then the veil of the temple was rent from the top to the bottom, the earth shook, and the rocks rent. Great darkness was upon the face of the earth. The last hope of the disciples seemed swept away as Jesus died. Many of His followers witnessed the scene of His sufferings and death, and their cup of sorrow was full. EW 177.3"
"When Jesus therefore had received the vinegar, he said, It is finished: and he bowed his head, and gave up the ghost."
EGW directly quotes Jesus' statement "It is finished" from John 19:30.
"After this, Jesus knowing that all things were now accomplished, that the scripture might be fulfilled, saith, I thirst."
EGW directly references Jesus' thirst, a key detail from John 19:28.
"And, behold, the veil of the temple was rent in twain from the top to the bottom; and the earth did quake, and the rocks rent;"
The EGW passage directly references and expands upon the events described in Matthew 27:51, including the rending of the veil, the earthquake, and the splitting of rocks.