"I saw these men while striving for the possessions of earth; what zeal they manifested, what earnestness, what energy to obtain an earthly treasure that must soon pass away! What cool calculations they made! They plan and toil early and late, and sacrifice their ease and comfort for earthly treasure. A corresponding zeal on their part to obtain the gold, white raiment, and eyesalve will bring them in possession of these desirable treasures and life, everlasting life, in the kingdom of God. I saw that if any need eyesalve, it is those who have earthly possessions. Many of them are blind to their own state, blind to their firm grasp upon this world. Oh, that they may see! 1T 143.1"
"Lay not up for yourselves treasures upon earth, where moth and rust doth corrupt, and where thieves break through and steal: But lay up for yourselves treasures in heaven, where neither moth nor rust doth corrupt, and where thieves do not break through nor steal: For where your treasure is, there will your heart be also."
The EGW passage contrasts earthly treasures with heavenly ones, echoing the sentiment of Matthew 6:19-21. While not a direct quote, the theme of prioritizing spiritual wealth over material possessions is clearly present.
"“Behold, I stand at the door, and knock: if any man hear My voice, and open the door, I will come in to him, and will sup with him, and he with Me.” I saw that many have so much rubbish piled up at the door of their heart that they cannot get the door open. Some have difficulties between themselves and their brethren to remove. Others have evil tempers, selfish covetousness, to remove before they can open the door. Others have rolled the world before the door of their heart, which bars the door. All this rubbish must be taken away, and then they can open the door and welcome the Saviour in. 1T 143.2"
"Behold, I stand at the door, and knock: if any man hear my voice, and open the door, I will come in to him, and will sup with him, and he with me."
EGW directly quotes Revelation 3:20 and then elaborates on the meaning of the verse, making the connection explicit.