"Jesus met Satan with the words of Scripture. “It is written,” He said. In every temptation the weapon of His warfare was the word of God. Satan demanded of Christ a miracle as a sign of His divinity. But that which is greater than all miracles, a firm reliance upon a “Thus saith the Lord,” was a sign that could not be controverted. So long as Christ held to this position, the tempter could gain no advantage. DA 120.1"
"But he answered and said, It is written, Man shall not live by bread alone, but by every word that proceedeth out of the mouth of God."
The EGW passage explicitly mentions Jesus using the phrase "It is written" and connects it to the word of God as a weapon, which is exemplified in Matthew 4:4 and the surrounding verses.
It was in the time of greatest weakness that Christ was assailed by the fiercest temptations. Thus Satan thought to prevail. By this policy he had gained the victory over men. When strength failed, and the will power weakened, and faith ceased to repose in God, then those who had stood long and valiantly for the right were overcome. Moses was wearied with the forty years’ wandering of Israel, when for the moment his faith let go its hold upon infinite power. He failed just upon the borders of the Promised Land. So with Elijah, who had stood undaunted before King Ahab, who had faced the whole nation of Israel, with the four hundred and fifty prophets of Baal at their head. After that terrible day upon Carmel, when the false prophets had been slain, and the people had declared their allegiance to God, Elijah fled for his life before the threats of the idolatrous Jezebel. Thus Satan has taken advantage of the weakness of humanity. And he will still work in the same way. Whenever one is en…
"And he said unto me, My grace is sufficient for thee: for my strength is made perfect in weakness. Most gladly therefore will I rather glory in my infirmities, that the power of Christ may rest upon me."
Both passages discuss the idea that weakness is a time when one is most vulnerable to temptation and that strength comes from God. While not a direct quote, the EGW passage echoes the principle found in 2 Corinthians 12:9.