"While our first parents obeyed God, their labor in the garden was a pleasure, and the earth yielded of its abundance for their wants. But when man departed from obedience, he was doomed to wrestle with the seeds of Satan's sowing and to earn his bread by the sweat of his brow. Henceforth he must battle in toil and hardship against the power to which he had yielded his will. CT 274.1"
"And unto Adam he said, Because thou hast hearkened unto the voice of thy wife, and hast eaten of the tree, of which I commanded thee, saying, Thou shalt not eat of it: cursed is the ground for thy sake; in sorrow shalt thou eat of it all the days of thy life; Thorns also and thistles shall it bring forth to thee; and thou shalt eat the herb of the field; In the sweat of thy face shalt thou eat bread, till thou return unto the ground; for out of it wast thou taken: for dust thou art, and unto dust shalt thou return."
The EGW passage directly alludes to the consequences of Adam's disobedience as described in Genesis 3:17-19, including the curse on the ground and the necessity of laboring by the sweat of one's brow.
"Wherefore, as by one man sin entered into the world, and death by sin; and so death passed upon all men, for that all have sinned:"
Both passages refer to the consequences of the Fall. Romans 5:12 describes how sin entered the world through one man, and the EGW passage refers to God's plan for recovery from the Fall. While not a direct quote, the connection is clear.