"them we might have joy. When at Jesus’ birth the angels sang,— “Glory to God in the highest, And on earth peace, good will toward men” ( Luke 2:14 ), they were declaring the principles of the law which He had come to magnify and make honorable. DA 308.1"
"Glory to God in the highest, and on earth peace, good will toward men."
The EGW passage directly quotes Luke 2:14.
"When the law was proclaimed from Sinai, God made known to men the holiness of His character, that by contrast they might see the sinfulness of their own. The law was given to convict them of sin, and reveal their need of a Saviour. It would do this as its principles were applied to the heart by the Holy Spirit. This work it is still to do. In the life of Christ the principles of the law are made plain; and as the Holy Spirit of God touches the heart, as the light of Christ reveals to men their need of His cleansing blood and His justifying righteousness, the law is still an agent in bringing us to Christ, that we may be justified by faith. “The law of the Lord is perfect, converting the soul.” Psalm 19:7 . DA 308.2"
"The law of the Lord is perfect, converting the soul: the testimony of the Lord is sure, making wise the simple."
Ellen White directly references Psalms 19:7 in this passage.
"Therefore by the deeds of the law there shall no flesh be justified in his sight: for by the law is the knowledge of sin."
The EGW passage directly echoes the principle in Romans 3:20 that the law reveals sin.
"Wherefore the law was our schoolmaster to bring us unto Christ, that we might be justified by faith."
The EGW passage directly echoes the principle in Galatians 3:24 that the law leads us to Christ.
"“Till heaven and earth pass,” said Jesus, “one jot or one tittle shall in nowise pass from the law, till all be fulfilled.” The sun shining in the heavens, the solid earth upon which you dwell, are God's witnesses that His law is changeless and eternal. Though they may pass away, the divine precepts shall endure. “It is easier for heaven and earth to pass, than one tittle of the law to fail.” Luke 16:17 . The system of types that pointed to Jesus as the Lamb of God was to be abolished at His death; but the precepts of the Decalogue are as immutable as the throne of God. DA 308.3"
"For verily I say unto you, Till heaven and earth pass, one jot or one tittle shall in no wise pass from the law, till all be fulfilled."
The EGW passage directly quotes Matthew 5:18.
"And it is easier for heaven and earth to pass, than one tittle of the law to fail."
The EGW passage directly quotes Luke 16:17.
"For ever, O Lord, thy word is settled in heaven."
Both passages speak to the eternal nature of God's word/law. While not a direct quote, the theme is clearly present.
"Since “the law of the Lord is perfect,” every variation from it must be evil. Those who disobey the commandments of God, and teach others to do so, are condemned by Christ. The Saviour's life of obedience maintained the claims of the law; it proved that the law could be kept in humanity, and showed the excellence of character that obedience would develop. All who obey as He did are likewise declaring that the law is “holy, and just, and good.” Romans 7:12 . On the other hand, all who break God's commandments are sustaining Satan's claim that the law is unjust, and cannot be obeyed. Thus they second the deceptions of the great adversary, and cast dishonor upon God. They are the children of the wicked one, who was the first rebel against God's law. To admit them into heaven would again bring in the elements of discord and rebellion, and imperil the well-being of the universe. No man who willfully disregards one principle of the law shall enter the kingdom of heaven. DA 308.4"
"Wherefore the law is holy, and the commandment holy, and just, and good."
EGW directly quotes Romans 7:12.
"Whosoever committeth sin transgresseth also the law: for sin is the transgression of the law."
While not a direct quote, the EGW passage echoes the principle that breaking God's law is sin, which is the core message of 1 John 3:4. The connection is thematic rather than a direct allusion.