"The defects in John's character came strongly to the front on several occasions during his personal association with the Saviour. At one time Christ sent messengers before Him into a village of the Samaritans, requesting the people to prepare refreshments for Him and His disciples. But when the Saviour approached the town, He appeared to be desirous of passing on toward Jerusalem. This aroused the envy of the Samaritans, and instead of inviting Him to tarry with them, they withheld the courtesies which they would have given to a common wayfarer. Jesus never urges His presence upon any, and the Samaritans lost the blessing which would have been granted them had they solicited Him to be their guest. AA 540.1"
"And sent messengers before his face: and they went, and entered into a village of the Samaritans, to make ready for him. And they did not receive him, because his face was as though he would go to Jerusalem. And when his disciples James and John saw this, they said, Lord, wilt thou that we command fire to come down from heaven, and consume them, even as Elias did? But he turned, and rebuked them, and said, Ye know not what manner of spirit ye are of. For the Son of man is not come to destroy men’s lives, but to save them. And they went to another village."
The EGW passage directly recounts the events described in Luke 9:52-56, where the Samaritans refused to receive Jesus, and James and John wanted to call down fire on them. The EGW passage is an explicit allusion to this biblical narrative.
"coldness, jealousy, and disrespect shown to their Master filled them with surprise and indignation. James and John especially were aroused. That He whom they so highly reverenced should be thus treated, seemed to them a wrong too great to be passed over without immediate punishment. In their zeal they said, “Lord, wilt Thou that we command fire to come down from heaven, and consume them, even as Elias did?” referring to the destruction of the Samaritan captains and their companies sent out to take the prophet Elijah. They were surprised to see that Jesus was pained by their words, and still more surprised as His rebuke fell upon their ears: “Ye know not what manner of spirit ye are of. For the Son of man is not come to destroy men's lives, but to save them.” Luke 9:54-56 . AA 540.2"
"And when his disciples James and John saw this, they said, Lord, wilt thou that we command fire to come down from heaven, and consume them, even as Elias did? But he turned, and rebuked them, and said, Ye know not what manner of spirit ye are of. For the Son of man is not come to destroy men’s lives, but to save them. And they went to another village."
Ellen White directly references Luke 9:54-56 in this passage.
"And when his disciples James and John saw this, they said, Lord, wilt thou that we command fire to come down from heaven, and consume them, even as Elias did?"
The EGW passage directly quotes Luke 9:54 and provides context for the verse.