Upon receiving the curse of God, Cain had withdrawn from his father's household. He had first chosen his occupation as a tiller of the soil, and he now founded a city, calling it after the name of his eldest son. He had gone out from the presence of the Lord, cast away the promise of the restored Eden, to seek his possessions and enjoyment in the earth under the curse of sin, thus standing at the head of that great class of men who worship the god of this world. In that which pertains to mere earthly and material progress, his descendants became distinguished. But they were regardless of God, and in opposition to His purposes for man. To the crime of murder, in which Cain had led the way, Lamech, the fifth in descent, added polygamy, and, boastfully defiant, he acknowledged God, only to draw from the avenging of Cain an assurance of his own safety. Abel had led a pastoral life, dwelling in tents or booths, and the descendants of Seth followed the same course, counting themselves “stran…
"And Cain went out from the presence of the Lord, and dwelt in the land of Nod, on the east of Eden."
EGW directly references Cain's departure from the presence of the Lord and his dwelling in the land of Nod, which is explicitly stated in Genesis 4:16. She then builds upon this verse to describe Cain's subsequent actions and the development of his lineage.
"lost their peculiar, holy character. Mingling with the depraved, they became like them in spirit and in deeds; the restrictions of the seventh commandment were disregarded, “and they took them wives of all which they chose.” The children of Seth went “in the way of Cain” ( Jude 11 ); they fixed their minds upon worldly prosperity and enjoyment and neglected the commandments of the Lord. Men “did not like to retain God in their knowledge;” they “became vain in their imaginations, and their foolish heart was darkened.” Romans 1:21 . Therefore “God gave them over to a mind void of judgment.” Verse 28 , margin. Sin spread abroad in the earth like a deadly leprosy. PP 81.2"
"Because that, when they knew God, they glorified him not as God, neither were thankful; but became vain in their imaginations, and their foolish heart was darkened."
Ellen White directly references Romans 1:21 in this passage.
"That the sons of God saw the daughters of men that they were fair; and they took them wives of all which they chose."
The EGW passage directly quotes Genesis 6:2 regarding the sons of God taking wives of all they chose, and uses it in the same context of explaining the corruption of humanity before the flood.
"And even as they did not like to retain God in their knowledge, God gave them over to a reprobate mind, to do those things which are not convenient;"
The EGW passage directly quotes Romans 1:28 regarding not retaining God in their knowledge and God giving them over to a reprobate mind, and uses it in the context of explaining the corruption of humanity before the flood.