"The wisdom of Christ's answer had convicted the scribe. He knew that the Jewish religion consisted in outward ceremonies rather than inward piety. He had some sense of the worthlessness of mere ceremonial offerings, and the faithless shedding of blood for expiation of sin. Love and obedience to God, and unselfish regard for man, appeared to him of more value than all these rites. The readiness of this man to acknowledge the correctness of Christ's reasoning, and his decided and prompt response before the people, manifested a spirit entirely different from that of the priests and rulers. The heart of Jesus went out in pity to the honest scribe who had dared to face the frowns of the priests and the threats of the rulers to speak the convictions of his heart. “And when Jesus saw that he answered discreetly, He said unto him, Thou art not far from the kingdom of God.” DA 608.1"
"For I desired mercy, and not sacrifice; and the knowledge of God more than burnt offerings."
The EGW passage discusses the scribe's understanding that inward piety and love are more valuable than outward ceremonies and sacrifices, which echoes the sentiment expressed in Hosea 6:6. The passage connects this understanding to the scribe's positive response to Jesus.
"The scribe was near to the kingdom of God, in that he recognized deeds of righteousness as more acceptable to God than burnt offerings and sacrifices. But he needed to recognize the divine character of Christ, and through faith in Him receive power to do the works of righteousness. The ritual service was of no value, unless connected with Christ by living faith. Even the moral law fails of its purpose, unless it is understood in its relation to the Saviour. Christ had repeatedly shown that His Father's law contained something deeper than mere authoritative commands. In the law is embodied the same principle that is revealed in the gospel. The law points out man's duty and shows him his guilt. To Christ he must look for pardon and for power to do what the law enjoins. DA 608.2"
"And to love him with all the heart, and with all the understanding, and with all the soul, and with all the strength, and to love his neighbour as himself, is more than all whole burnt offerings and sacrifices."
Both passages highlight that outward religious acts (sacrifices) are less important than inward righteousness and love. Mark 12:33 states that loving God and neighbor is more important than sacrifices, while the EGW passage emphasizes that deeds of righteousness and faith in Christ are more acceptable to God. The EGW passage directly amplifies the principle found in Mark.
The Pharisees had gathered close about Jesus as He answered the question of the scribe. Now turning He put a question to them: “What think ye of Christ? whose son is He?” This question was designed to test their belief concerning the Messiah,—to show whether they regarded Him simply as a man or as the Son of God. A chorus of voices answered, “The Son of David.” This was the title which prophecy had given to the Messiah. When Jesus revealed His divinity by His mighty miracles, when He healed the sick and raised the dead, the people had inquired among themselves, “Is not this the Son of David?” The Syrophoenician woman, blind Bartimaeus, and many others had cried to Him for help, “Have mercy on me, O Lord, Thou Son of David.” Matthew 15:22 . While riding into Jerusalem He had been hailed with the joyful shout, “Hosanna to the Son of David: Blessed is He that cometh in the name of the Lord.” Matthew 21:9 . And the little children in the temple had that day echoed the glad ascription. But …
"And, behold, a woman of Canaan came out of the same coasts, and cried unto him, saying, Have mercy on me, O Lord, thou Son of David; my daughter is grievously vexed with a devil."
Ellen White directly references Matthew 15:22 in this passage.
"And the multitudes that went before, and that followed, cried, saying, Hosanna to the Son of David: Blessed is he that cometh in the name of the Lord; Hosanna in the highest."
Ellen White directly references Matthew 21:9 in this passage.