"Here is the danger of riches to the avaricious man. The more he gains, the harder it is for him to be generous. To diminish his wealth is like parting with life. Rather than do this, he turns from the attractions of the immortal reward, in order to retain and increase his earthly possessions. He accumulates and hoards. Had he kept the commandments, his worldly possessions would not have been so great. How could he, while plotting and striving for self, love God with all his heart, and with all his mind, and with all his strength, and his neighbor as himself? Had he distributed to the necessities of the poor and blessed his fellow men with a portion of his means as their wants demanded, he would have been far happier and would have had greater heavenly treasure and less of earth upon which to place his affections. 4T 50.1"
"No man can serve two masters: for either he will hate the one, and love the other; or else he will hold to the one, and despise the other. Ye cannot serve God and mammon."
The EGW passage discusses the dangers of riches and the difficulty of serving both God and wealth, which is a central theme in Matthew 6:24. The passage explores the conflict between earthly possessions and spiritual devotion, mirroring the warning against serving both God and mammon.
"Christ assured the young man who came to Him that if he would obey His requirements, he should have treasure in heaven. This world-loving man was very sorrowful. He wanted heaven, but he desired to retain his wealth. He renounced immortal life for the love of money and power. Oh, what a miserable exchange! Yet many are doing this who profess to keep all the commandments of God. You, dear brother, are in danger of doing the same, but you do not realize it. Be not offended because I lay this matter so plainly before you. God loves you. How poorly have you returned His love! 4T 50.2"
"But when the young man heard that saying, he went away sorrowful: for he had great possessions."
The EGW passage directly references the story of the rich young ruler in Matthew 19:22, echoing the sorrowful departure due to attachment to wealth. The language and context are very similar.