Those who were shown me as clamorous for the earthly crown, were those who will resort to any means to acquire property. They become insane upon that point. All their thoughts and energies are directed to the acquirement of earthly riches. They trample upon the rights of others, and oppress the poor, and the hireling in his wages. If they can take advantage of those who are poorer and less shrewd than they, and thus manage to increase their riches, they will not hesitate a moment to oppress them, and even see them brought to beggary. 1T 350.3 The men whose heads were white with age, and whose faces were furrowed with care, yet who were eagerly grasping the treasures within the crown, were the aged, who have but a few years before them. Yet they were eager to secure their earthly treasures. The nearer they came to the grave, the more anxious they were to cling to them. Their own relatives were not benefited. The members of their own families were permitted to labor beyond their strength…
"Behold, the hire of the labourers who have reaped down your fields, which is of you kept back by fraud, crieth: and the cries of them which have reaped are entered into the ears of the Lord of sabaoth."
Both passages address the injustice of withholding wages from laborers. EGW's passage describes the act of oppression, while James 5:4 highlights the consequences and the cry of the oppressed reaching God.
"He that oppresseth the poor to increase his riches, and he that giveth to the rich, shall surely come to want."
Both passages condemn the oppression of the poor to gain wealth. EGW's passage provides a more detailed description of this oppression, while Proverbs 22:16 states the consequence of such actions.