"Those who have been trained for medical missionary work in foreign countries should be encouraged to go without delay where they expect to labor, and begin work among the people, learning the language as they work. Very soon they will be able to teach the simple truths of God's word. MH 155.1"
"Go ye therefore, and teach all nations, baptizing them in the name of the Father, and of the Son, and of the Holy Ghost:"
The EGW passage is a specific application of the Great Commission in Matthew 28:19, focusing on medical missionary work and teaching God's word in foreign countries. It directly reflects the principle of going and teaching all nations.
"Throughout the world, messengers of mercy are needed. There is a call for Christian families to go into communities that are in darkness and error, to go to foreign fields, to become acquainted with the needs of their fellow men, and to work for the cause of the Master. If such families would settle in the dark places of the earth, places where the people are enshrouded in spiritual gloom, and let the light of Christ's life shine out through them, what a noble work might be accomplished. MH 155.2"
"Let your light so shine before men, that they may see your good works, and glorify your Father which is in heaven."
The EGW passage explicitly calls for Christian families to let the light of Christ's life shine, which is a clear allusion to Matthew 5:16. The passage expands on how this light can be manifested through good works and service in dark places.