"testimony to the world. In the events now taking place is seen a rapid advance toward the fulfillment of the prediction. With Protestant teachers there is the same claim of divine authority for Sundaykeeping, and the same lack of Scriptural evidence, as with the papal leaders who fabricated miracles to supply the place of a command from God. The assertion that God's judgments are visited upon men for their violation of the Sunday-sabbath, will be repeated; already it is beginning to be urged. And a movement to enforce Sunday observance is fast gaining ground. GC 579.1"
"But in vain they do worship me, teaching for doctrines the commandments of men."
Both passages address the issue of religious teachings that are based on human authority rather than divine command. EGW specifically applies this to Sunday-keeping, while Matthew 15:9 is a more general statement about vain worship.