"kindle upon his idols a fire that water cannot quench. The great general conflagration is but just ahead, when all this wasted labor of life will be swept away in a night and day. The treasure laid up in heaven will be safe. No thief can approach nor moth corrupt it. 4T 49.2"
"But lay up for yourselves treasures in heaven, where neither moth nor rust doth corrupt, and where thieves do not break through nor steal:"
The EGW passage directly references the concept of laying up treasures in heaven where moth and rust do not corrupt and thieves do not steal, which is a clear allusion to Matthew 6:20.
"A young man came to Christ and said: “Good Master, what good thing shall I do, that I may have eternal life?” Jesus bade him keep the commandments. He returned answer: Lord, “All these things have I kept from my youth up: what lack I yet?” Jesus looked with love upon the young man, and faithfully pointed out to him his deficiency in keeping the commandments. He did not love his neighbor as himself. Christ showed him his true character. His selfish love of riches was a defect, which, if not removed, would debar him from heaven. “If thou wilt be perfect, go and sell that thou hast, and give to the poor, and thou shalt have treasure in heaven: and come and follow Me.” Christ would have him understand that He required nothing of him more than He Himself had experienced. All He asked was that he should follow His example. 4T 49.3"
"And, behold, one came and said unto him, Good Master, what good thing shall I do, that I may have eternal life?"
The EGW passage directly quotes and paraphrases the interaction between Jesus and the rich young ruler from Matthew 19:16, making it a clear explicit allusion.
"Christ left His riches and glory, and became poor, that man through His poverty might be made rich. He now requires him for the sake of these riches to yield earthly things and secure heaven. Christ knew that while the affections were upon worldly treasure, they would be withdrawn from God; therefore He said to the lawyer: “Go and sell that thou hast, and give to the poor, and thou shalt have treasure in heaven: and come and follow Me.” How did he receive the words of Christ? Was he rejoiced that he could secure the heavenly treasure? He was very sorrowful, for he had great possessions. To him riches were honor and power. The great amount of his treasure made such a disposal of it seem like an impossibility. 4T 49.4"
"For ye know the grace of our Lord Jesus Christ, that, though he was rich, yet for your sakes he became poor, that ye through his poverty might be rich."
The EGW passage directly alludes to 2 Corinthians 8:9 by discussing Christ's poverty and its purpose for humanity's enrichment. It also references the story of the rich young ruler, tying the two concepts together.