"As Christ's earthly ministry drew to a close, and He realized that He must soon leave His disciples to carry on the work without His personal supervision, He sought to encourage them and to prepare them for the future. He did not deceive them with false hopes. As an open book He read what was to be. He knew He was about to be separated from them, to leave them as sheep among wolves. He knew that they would suffer persecution, that they would be cast out of the synagogues, and would be thrown into prison. He knew that for witnessing to Him as the Messiah, some of them would suffer death. And something of this He told them. In speaking of their future, He was plain and definite, that in their coming trial they might remember His words and be strengthened to believe in Him as the Redeemer. AA 21.1"
"Behold, I send you forth as sheep in the midst of wolves: be ye therefore wise as serpents, and harmless as doves."
The EGW passage echoes the sentiment of Jesus sending his disciples into a hostile world, similar to sheep among wolves. While not a direct quote, the thematic parallel is strong and relevant to the context.
"for you. I came to the world to reveal Myself to you, that you might believe. I go to My Father and yours to co- operate with Him in your behalf. AA 21.2"
"I have glorified thee on the earth: I have finished the work which thou gavest me to do."
Both passages deal with Christ's relationship with the Father and His work on behalf of humanity. The EGW passage expands on Christ's role as a revealer and co-operator, while the verse focuses on the completion of His earthly mission. The connection is present, but not overly strong.