"While they went to buy, the procession moved on, and left them behind. The five with lighted lamps joined the throng and entered the house with the bridal train, and the door was shut. When the foolish virgins reached the banqueting hall, they received an unexpected denial. The master of the feast declared, “I know you not.” They were left standing without, in the empty street, in the blackness of the night. COL 406.1"
"And while they went to buy, the bridegroom came; and they that were ready went in with him to the marriage: and the door was shut."
The EGW passage directly references and expands upon Matthew 25:10, making it a clear explicit allusion.
"As Christ sat looking upon the party that waited for the bridegroom, He told His disciples the story of the ten virgins, by their experience illustrating the experience of the church that shall live just before His second coming. COL 406.2"
"Then shall the kingdom of heaven be likened unto ten virgins, which took their lamps, and went forth to meet the bridegroom."
The EGW passage directly references Matthew 25:1 and its context, making it a clear explicit allusion.
The two classes of watchers represent the two classes who profess to be waiting for their Lord. They are called virgins because they profess a pure faith. By the lamps is represented the word of God. The psalmist says, “Thy word is a lamp unto my feet, and a light unto my path.” Psalm 119:105 . The oil is a symbol of the Holy Spirit. Thus the Spirit is represented in the prophecy of Zechariah. “The angel that talked with me came again,” he says, “and waked me, as a man that is wakened out of his sleep, and said unto me, What seest thou? And I said, I have looked, and behold a candlestick all of gold, with a bowl upon the top of it, and his seven lamps thereon, and seven pipes to the seven lamps, which are upon the top thereof; and two olive trees by it, one upon the right side of the bowl, and the other upon the left side thereof. So I answered and spake to the angel that talked with me, saying, What are these, my lord? ... Then he answered and spake unto me, saying, This is the word o…
"Thy word is a lamp unto my feet, and a light unto my path."
Ellen White directly references Psalms 119:105 in this passage.
"And the angel that talked with me came again, and waked me, as a man that is wakened out of his sleep, And said unto me, What seest thou? And I said, I have looked, and behold a candlestick all of gold, with a bowl upon the top of it, and his seven lamps thereon, and seven pipes to the seven lamps, which are upon the top thereof: And two olive trees by it, one upon the right side of the bowl, and the other upon the left side thereof. So I answered and spake to the angel that talked with me, saying, What are these, my lord? Then the angel that talked with me answered and said unto me, Knowest thou not what these be? And I said, No, my lord. Then he answered and spake unto me, saying, This is the word of the Lord unto Zerubbabel, saying, Not by might, nor by power, but by my spirit, saith the Lord of hosts. Who art thou, O great mountain? before Zerubbabel thou shalt become a plain: and he shall bring forth the headstone thereof with shoutings, crying, Grace, grace unto it. Moreover the word of the Lord came unto me, saying, The hands of Zerubbabel have laid the foundation of this house; his hands shall also finish it; and thou shalt know that the Lord of hosts hath sent me unto you. For who hath despised the day of small things? for they shall rejoice, and shall see the plummet in the hand of Zerubbabel with those seven; they are the eyes of the Lord, which run to and fro through the whole earth. Then answered I, and said unto him, What are these two olive trees upon the right side of the candlestick and upon the left side thereof? And I answered again, and said unto him, What be these two olive branches which through the two golden pipes empty the golden oil out of themselves? And he answered me and said, Knowest thou not what these be? And I said, No, my lord. Then said he, These are the two anointed ones, that stand by the Lord of the whole earth."
Ellen White directly references Zechariah 4:1-14 in this passage.