"In Scotland, as in England, a greater regard for Sunday was secured by uniting with it a portion of the ancient Sabbath. But the time required to be kept holy varied. An edict from the king of Scotland declared that “Saturday from twelve at noon ought to be accounted holy,” and that no man, from that time till Monday morning, should engage in worldly business.—Morer, pages 290, 291. GC 577.1"
"And he said unto them, Full well ye reject the commandment of God, that ye may keep your own tradition."
The passage describes how traditions were used to circumvent God's commandments, similar to the Pharisees rejecting the commandment of God to keep their own tradition.
"But notwithstanding all the efforts to establish Sunday sacredness, papists themselves publicly confessed the divine authority of the Sabbath and the human origin of the institution by which it had been supplanted. In the sixteenth century a papal council plainly declared: “Let all Christians remember that the seventh day was consecrated by God, and hath been received and observed, not only by the Jews, but by all others who pretend to worship God; though we Christians have changed their Sabbath into the Lord's Day.”— Ibid., pages 281, 282. Those who were tampering with the divine law were not ignorant of the character of their work. They were deliberately setting themselves above God. GC 577.2"
"Remember the sabbath day, to keep it holy. Six days shalt thou labour, and do all thy work: But the seventh day is the sabbath of the Lord thy God: in it thou shalt not do any work, thou, nor thy son, nor thy daughter, thy manservant, nor thy maidservant, nor thy cattle, nor thy stranger that is within thy gates: For in six days the Lord made heaven and earth, the sea, and all that in them is, and rested the seventh day: wherefore the Lord blessed the sabbath day, and hallowed it."
The EGW passage directly discusses the Sabbath and its replacement with Sunday, referencing a papal council's acknowledgement of the Sabbath's divine origin. This is directly related to the fourth commandment in Exodus 20:8-11, which establishes the Sabbath.
A striking illustration of Rome's policy toward those who disagree with her was given in the long and bloody persecution of the Waldenses, some of whom were observers of the Sabbath. Others suffered in a similar manner for their fidelity to the fourth commandment. The history of the churches of Ethiopia and Abyssinia is especially significant. Amid the gloom of the Dark Ages, the Christians of Central Africa were lost sight of and forgotten by the world, and for many centuries they enjoyed freedom in the exercise of their faith. But at last Rome learned of their existence, and the emperor of Abyssinia was soon beguiled into an acknowledgment of the pope as the vicar of Christ. Other concessions followed. An edict was issued forbidding the observance of the Sabbath under the severest penalties. (See Michael Geddes, Church History of Ethiopia, pages 311, 312.) But papal tyranny soon became a yoke so galling that the Abyssinians determined to break it from their necks. After a terrible st…
"And the dragon was wroth with the woman, and went to make war with the remnant of her seed, which keep the commandments of God, and have the testimony of Jesus Christ."
Both passages describe persecution against those who keep God's commandments. Revelation 12:17 speaks generally of the dragon making war with the remnant who keep the commandments, while the EGW passage gives specific historical examples of this persecution, including the Waldenses and the churches of Ethiopia and Abyssinia.