The spirit of concession to paganism opened the way for a still further disregard of Heaven's authority. Satan, working through unconsecrated leaders of the church, tampered with the fourth commandment also, and essayed to set aside the ancient Sabbath, the day which God had blessed and sanctified ( Genesis 2:2, 3 ), and in its stead to exalt the festival observed by the heathen as “the venerable day of the sun.” This change was not at first attempted openly. In the first centuries the true Sabbath had been kept by all Christians. They were jealous for the honor of God, and, believing that His law is immutable, they zealously guarded the sacredness of its precepts. But with great subtlety Satan worked through his agents to bring about his object. That the attention of the people might be called to the Sunday, it was made a festival in honor of the resurrection of Christ. Religious services were held upon it; yet it was regarded as a day of recreation, the Sabbath being still sacredly o…
"And God blessed the seventh day, and sanctified it: because that in it he had rested from all his work which God created and made."
EGW directly references Genesis 2:3 to support her argument about the Sabbath.
"Remember the sabbath day, to keep it holy."
While not a direct quote, the EGW passage discusses the Sabbath and its importance, which is the central theme of Exodus 20:8.
"To prepare the way for the work which he designed to accomplish, Satan had led the Jews, before the advent of Christ, to load down the Sabbath with the most rigorous exactions, making its observance a burden. Now, taking advantage of the false light in which he had thus caused it to be regarded, he cast contempt upon it as a Jewish institution. While Christians generally continued to observe the Sunday as a joyous festival, he led them, in order to show their hatred of Judaism, to make the Sabbath a fast, a day of sadness and gloom. GC 52.2"
"But when the Pharisees saw it, they said unto him, Behold, thy disciples do that which is not lawful to do upon the sabbath day."
The EGW passage discusses the Pharisees' strict interpretation of the Sabbath, which is exemplified in Matthew 12:2. The connection is thematic, focusing on the differing views of Sabbath observance.