"Christ's disciples were much impressed by His prayers and by His habit of communion with God. One day after a short absence from their Lord, they found Him absorbed in supplication. Seeming unconscious of their presence, He continued praying aloud. The hearts of the disciples were deeply moved. As He ceased praying, they exclaimed, “Lord, teach us to pray.” COL 140.1"
"And it came to pass, that, as he was praying in a certain place, when he ceased, one of his disciples said unto him, Lord, teach us to pray, as John also taught his disciples."
The EGW passage directly references and expands upon the event described in Luke 11:1, where the disciples ask Jesus to teach them to pray.
"In answer, Christ repeated the Lord's prayer, as He had given it in the sermon on the mount. Then in a parable He illustrated the lesson He desired to teach them. COL 140.2"
"After this manner therefore pray ye: Our Father which art in heaven, Hallowed be thy name."
The EGW passage directly refers to Christ repeating the Lord's Prayer, which is found in Matthew 6:9.
"“Which of you,” He said, “shall have a friend, and shall go unto him at midnight, and say unto him, Friend, lend me three loaves; for a friend of mine in his journey is come to me, and I have nothing to set before him? And he from within shall answer and say, Trouble me not; the door is now shut, and my children are with me in bed: I cannot rise and give thee. I say unto you, Though he will not rise and give him because he is his friend, yet because of his importunity he will rise and give him as many as he needeth.” COL 140.3"
"And he said unto them, Which of you shall have a friend, and shall go unto him at midnight, and say unto him, Friend, lend me three loaves; For a friend of mine in his journey is come to me, and I have nothing to set before him? And he from within shall answer and say, Trouble me not: the door is now shut, and my children are with me in bed; I cannot rise and give thee. I say unto you, Though he will not rise and give him, because he is his friend, yet because of his importunity he will rise and give him as many as he needeth."
The EGW passage quotes the parable found in Luke 11:5-8 almost verbatim.
"And he said unto them, Which of you shall have a friend, and shall go unto him at midnight, and say unto him, Friend, lend me three loaves;"
EGW quotes directly from Luke 11:5, making it an explicit allusion.
"Here Christ represents the petitioner as asking that he may give again. He must obtain the bread, else he cannot supply the necessities of a weary, belated wayfarer. Though his neighbor is unwilling to be troubled, he will not desist his pleading; his friend must be relieved; and at last his importunity is rewarded, his wants are supplied. COL 140.4"
"I say unto you, Though he will not rise and give him, because he is his friend, yet because of his importunity he will rise and give him as many as he needeth."
The EGW passage directly refers to the parable in Luke 11:5-8 and highlights the element of importunity in prayer, drawing a direct parallel.
In like manner the disciples were to seek blessings from God. In the feeding of the multitude and in the sermon on the bread from heaven, Christ had opened to them their work as His representatives. They were to give the bread of life to the people. He who had appointed their work, saw how often their faith would be tried. Often they would be thrown into unexpected positions, and would realize their human insufficiency. Souls that were hungering for the bread of life would come to them, and they would feel themselves to be destitute and helpless. They must receive spiritual food, or they would have nothing to impart. But they were not to turn one soul away unfed. Christ directs them to the source of supply. The man whose friend came to him for entertainment, even at the unseasonable hour of midnight, did not turn him away. He had nothing to set before him, but he went to one who had food and pressed his request until the neighbor supplied his need. And would not God, who had sent His s…
"And Jesus said unto them, I am the bread of life: he that cometh to me shall never hunger; and he that believeth on me shall never thirst."
Both passages discuss the concept of spiritual nourishment. John 6:35 presents Jesus as the 'bread of life,' while the EGW passage uses the metaphor of 'bread of life' to describe the spiritual food that Christ's representatives are to give to others. The connection is thematic and relevant to the context.