"Jesus had shown in what righteousness consists, and had pointed to God as its source. Now He turned to practical duties. In almsgiving, in prayer, in fasting, He said, let nothing be done to attract attention or win praise to self. Give in sincerity, for the benefit of the suffering poor. In prayer, let the soul commune with God. In fasting, go not with the head bowed down, and heart filled with thoughts of self. The heart of the Pharisee is a barren and profitless soil, in which no seeds of divine life can flourish. It is he who yields himself most unreservedly to God that will render Him the most acceptable service. For through fellowship with God men become workers together with Him in presenting His character in humanity. DA 312.1"
"Take heed that ye do not your alms before men, to be seen of them: otherwise ye have no reward of your Father which is in heaven."
The EGW passage directly elaborates on the principles Jesus taught in Matthew 6:1 regarding almsgiving, prayer, and fasting, emphasizing sincerity and avoiding outward displays for personal gain. It's a clear amplification of the biblical text.
"“If therefore thine eye be single, thy whole body shall be full of light. But if thine eye be evil, thy whole body shall be full of darkness.” Purity and steadfastness of purpose are the conditions of receiving light from God. He who desires to know the truth must be willing to accept all that it reveals. He can make no compromise with error. To be wavering and halfhearted in allegiance to truth is to choose the darkness of error and satanic delusion. DA 312.4"
"The light of the body is the eye: if therefore thine eye be single, thy whole body shall be full of light."
EGW directly quotes Matthew 6:22.
"But if thine eye be evil, thy whole body shall be full of darkness. If therefore the light that is in thee be darkness, how great is that darkness!"
EGW directly quotes Matthew 6:23.