"Christ's words were verily to the ruler the invitation, “Choose you this day whom ye will serve.” Joshua 24:15 . The choice was left with him. Jesus was yearning for his conversion. He had shown him the plague spot in his character, and with what deep interest He watched the issue as the young man weighed the question! If he decided to follow Christ, he must obey His words in everything. He must turn from his ambitious projects. With what earnest, anxious longing, what soul hunger, did the Saviour look at the young man, hoping that he would yield to the invitation of the Spirit of God! DA 520.1"
"And if it seem evil unto you to serve the Lord, choose you this day whom ye will serve; whether the gods which your fathers served that were on the other side of the flood, or the gods of the Amorites, in whose land ye dwell: but as for me and my house, we will serve the Lord."
Ellen White directly references Joshua 24:15 in this passage.
"Christ made the only terms which could place the ruler where he would perfect a Christian character. His words were words of wisdom, though they appeared severe and exacting. In accepting and obeying them was the ruler's only hope of salvation. His exalted position and his possessions were exerting a subtle influence for evil upon his character. If cherished, they would supplant God in his affections. To keep back little or much from God was to retain that which would lessen his moral strength and efficiency; for if the things of this world are cherished, however uncertain and unworthy they may be, they will become all-absorbing. DA 520.2"
"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 echoes the sentiment of Matthew 6:24, highlighting the conflict between worldly possessions and devotion to God. It expands on the idea that clinging to earthly things can hinder spiritual growth.
"The ruler was quick to discern all that Christ's words involved, and he became sad. If he had realized the value of the offered gift, quickly would he have enrolled himself as one of Christ's followers. He was a member of the honored council of the Jews, and Satan was tempting him with flattering prospects of the future. He wanted the heavenly treasure, but he wanted also the temporal advantages his riches would bring him. He was sorry that such conditions existed; he desired eternal life, but he was not willing to make the sacrifice. The cost of eternal life seemed too great, and he went away sorrowful; “for he had great possessions.” DA 520.3"
"But when the young man heard that saying, he went away sorrowful: for he had great possessions."
The EGW passage directly references and expands upon the detail in Matthew 19:22 about the young man's sorrow and great possessions.
"His claim that he had kept the law of God was a deception. He showed that riches were his idol. He could not keep the commandments of God while the world was first in his affections. He loved the gifts of God more than he loved the Giver. Christ had offered the young man fellowship with Himself. “Follow Me,” He said. But the Saviour was not so much to him as his own name among men or his possessions. To give up his earthly treasure, that was seen, for the heavenly treasure, that was unseen, was too great a risk. He refused the offer of eternal life, and went away, and ever after the world was to receive his worship. Thousands are passing through this ordeal, weighing Christ against the world; and many choose the world. Like the young ruler, they turn from the Saviour, saying in their hearts, I will not have this Man as my leader. DA 520.4"
"For where your treasure is, there will your heart be also."
The EGW passage connects the young ruler's choice to the principle in Matthew 6:21, that where your treasure is, there your heart will be also. It explains how the ruler's love for his riches prevented him from following Christ.