"But when the eye is blinded by the love of self, there is only darkness. “If thine eye be evil, thy whole body shall be full of darkness.” It was this fearful darkness that wrapped the Jews in stubborn unbelief, making it impossible for them to appreciate the character and mission of Him who came to save them from their sins. MB 91.3 Yielding to temptation begins in permitting the mind to waver, to be inconstant in your trust in God. If we do not choose to give ourselves fully to God then we are in darkness. When we make any reserve we are leaving open a door through which Satan can enter to lead us astray by his temptations. He knows that if he can obscure our vision, so that the eye of faith cannot see God, there will be no barrier against sin. MB 92.1"
"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 ('If thine eye be evil, thy whole body shall be full of darkness.') and builds upon it to explain spiritual blindness.
"The prevalence of a sinful desire shows the delusion of the soul. Every indulgence of that desire strengthens the soul's aversion to God. In following the path of Satan's choosing, we are encompassed by the shadows of evil, and every step leads into deeper darkness and increases the blindness of the heart. MB 92.2"
"And this is the condemnation, that light is come into the world, and men loved darkness rather than light, because their deeds were evil."
Both passages discuss the preference for darkness over light due to sinful desires and deeds. EGW elaborates on the process of descending into deeper darkness through indulgence.
"Having the understanding darkened, being alienated from the life of God through the ignorance that is in them, because of the blindness of their heart:"
Both passages connect a darkened understanding/heart with alienation from God. EGW provides a more detailed explanation of how sinful desires contribute to this blindness.
"The same law obtains in the spiritual as in the natural world. He who abides in darkness will at last lose the power of vision. He is shut in by a deeper than midnight blackness; and to him the brightest noontide can bring no light. He “walketh in darkness, and knoweth not whither he goeth, because that darkness hath blinded his eyes.” 1 John 2:11 . Through persistently cherishing evil, willfully disregarding the pleadings of divine love, the sinner loses the love for good, the desire for God, the very capacity to receive the light of heaven. The invitation of mercy is still full of love, the light is shining as brightly as when it first dawned upon his soul; but the voice falls on deaf ears, the light on blinded eyes. MB 92.3"
"But he that hateth his brother is in darkness, and walketh in darkness, and knoweth not whither he goeth, because that darkness hath blinded his eyes."
Ellen White directly references 1 John 2:11 in this passage.