"What a precious lesson is this for all the followers of Christ! Those who overlook the life duties lying directly in their pathway, who neglect mercy and kindness, courtesy and love, to even a little child, are neglecting Christ. John felt the force of this lesson and profited by it. SL 56.1"
"And the King shall answer and say unto them, Verily I say unto you, Inasmuch as ye have done it unto one of the least of these my brethren, ye have done it unto me."
While not a direct quote, the EGW passage echoes the sentiment of Matthew 25:40 regarding service to others being service to Christ. The connection is strong enough to confirm.
"On another occasion his brother James and himself had seen a man casting out devils in the name of Jesus, and because he did not immediately connect himself with their company, they decided that he had no right to do this work, and consequently forbade him. In the sincerity of his heart John related the circumstance to his Master. Jesus said, “Forbid him not: for there is no man which shall do a miracle in my name, that can lightly speak evil of me. For he that is not against us is on our part” ( verses 39, 40 ). SL 56.2"
"But Jesus said, Forbid him not: for there is no man which shall do a miracle in my name, that can lightly speak evil of me."
EGW directly quotes and comments on Mark 9:39.
"Again, James and John presented by their mother a petition requesting that they might be permitted to occupy the highest positions of honor in Christ's kingdom. The Saviour answered, “Ye know not what ye ask” ( Mark 10:38 ). How little do many of us understand the true import of our prayers! Jesus knew the infinite sacrifice at which that glory must be purchased, when He, “for the joy that was set before him endured the cross, despising the shame” ( Hebrews 12:2 ). That joy was to see souls saved by His humiliation, His agony, and the shedding of His blood. SL 56.3"
"But Jesus said unto them, Ye know not what ye ask: can ye drink of the cup that I drink of? and be baptized with the baptism that I am baptized with?"
EGW directly quotes and comments on Mark 10:38.
"Looking unto Jesus the author and finisher of our faith; who for the joy that was set before him endured the cross, despising the shame, and is set down at the right hand of the throne of God."
EGW directly quotes Hebrews 12:2 and uses it to explain Jesus' sacrifice.