"And he said unto them, Go ye into all the world, and preach the gospel to every creature."
The EGW passage is a clear and direct application of the Great Commission found in Mark 16:15, specifically focusing on the need to bring the gospel to regions that lack it.
"In all your work remember that you are bound up with Christ, a part of the great plan of redemption. The love of Christ, in a healing, life-giving current, is to flow through your life. As you seek to draw others within the circle of His love, let the purity of your language, the unselfishness of your service, the joyfulness of your demeanor, bear witness to the power of His grace. Give to the world so pure and righteous a representation of Him, that men shall behold Him in His beauty. MH 156.3"
"Let your light so shine before men, that they may see your good works, and glorify your Father which is in heaven."
Both passages emphasize the importance of reflecting God's character through good works and a righteous life. The EGW passage calls for a pure representation of Christ, while Matthew 5:16 encourages letting one's light shine to glorify God.
"It is of little use to try to reform others by attacking what we may regard as wrong habits. Such effort often results in more harm than good. In His talk with the Samaritan woman, instead of disparaging Jacob's well, Christ presented something better. “If thou knewest the gift of God,” He said, “and who it is that saith to thee, Give Me to drink; thou wouldest have asked of Him, and He would have given thee living water.” John 4:10 . He turned the conversation to the treasure He had to bestow, offering the woman something better than she possessed, even living water, the joy and hope of the gospel. MH 156.4"
"Jesus answered and said unto her, If thou knewest the gift of God, and who it is that saith to thee, Give me to drink; thou wouldest have asked of him, and he would have given thee living water."
Ellen White directly references John 4:10 in this passage.