"A Test of Character “Ye have the poor with you always,” Christ said, “and whensoever ye will ye may do them good.” “Pure religion and undefiled before God and the Father is this, To visit the fatherless and widows in their affliction, and to keep himself unspotted from the world.” Mark 14:7 ; James 1:27 . MH 205"
"For ye have the poor with you always, and whensoever ye will ye may do them good: but me ye have not always."
Ellen White directly references Mark 14:7 in this passage.
"Pure religion and undefiled before God and the Father is this, To visit the fatherless and widows in their affliction, and to keep himself unspotted from the world."
Ellen White directly references James 1:27 in this passage.
"In placing among them the helpless and the poor, to be dependent upon their care, Christ tests His professed followers. By our love and service for His needy children we prove the genuineness of our love for Him. To neglect them is to declare ourselves false disciples, strangers to Christ and His love. MH 205.2"
"And the King shall answer and say unto them, Verily I say unto you, Inasmuch as ye have done it unto one of the least of these my brethren, ye have done it unto me."
The EGW passage directly echoes the sentiment of Matthew 25:40, stating that service to the needy is equivalent to service to Christ. It's a clear application of the biblical principle.
"If all were done that could be done in providing homes in families for orphan children, there would still remain very many requiring care. Many of them have received an inheritance of evil. They are unpromising, unattractive, perverse, but they are the purchase of the blood of Christ, and in His sight are just as precious as are our own little ones. Unless a helping hand is held out to them, they will grow up in ignorance and drift into vice and crime. Many of these children could be rescued through the work of orphan asylums. MH 205.3"
"For ye are bought with a price: therefore glorify God in your body, and in your spirit, which are God’s."
The EGW passage explicitly states that even unpromising children are 'the purchase of the blood of Christ,' directly referencing the concept of redemption found in 1 Corinthians 6:20 and applying it to the care of orphans.