"Before the ransomed throng is the Holy City. Jesus opens wide the pearly gates, and the nations that have kept the truth enter in. There they behold the Paradise of God, the home of Adam in his innocency. Then that voice, richer than any music that ever fell on mortal ear, is heard, saying: “Your conflict is ended.” “Come, ye blessed of My Father, inherit the kingdom prepared for you from the foundation of the world.” GC 646.1"
"Then shall the King say unto them on his right hand, Come, ye blessed of my Father, inherit the kingdom prepared for you from the foundation of the world:"
The EGW passage directly quotes Matthew 25:34.
"Now is fulfilled the Saviour's prayer for His disciples: “I will that they also, whom Thou hast given Me, be with Me where I am.” “Faultless before the presence of His glory with exceeding joy” ( Jude 24 ), Christ presents to the Father the purchase of His blood, declaring: “Here am I, and the children whom Thou hast given Me.” “Those that Thou gavest Me I have kept.” Oh, the wonders of redeeming love! the rapture of that hour when the infinite Father, looking upon the ransomed, shall behold His image, sin's discord banished, its blight removed, and the human once more in harmony with the divine! GC 646.2"
"Father, I will that they also, whom thou hast given me, be with me where I am; that they may behold my glory, which thou hast given me: for thou lovedst me before the foundation of the world."
The EGW passage directly quotes John 17:24.
"While I was with them in the world, I kept them in thy name: those that thou gavest me I have kept, and none of them is lost, but the son of perdition; that the scripture might be fulfilled."
The EGW passage directly quotes John 17:12.
"And again, I will put my trust in him. And again, Behold I and the children which God hath given me."
The EGW passage alludes to Hebrews 2:13 with the phrase "Here am I, and the children whom Thou hast given Me."