"“After the close of the camp meeting in Napier,” wrote Mrs. White, “we decided to visit Wellington, and also to spend a few days at Palmerston North to labor for a little company of Sabbath keepers there who were pleading for help. Although infirmities were still my companions by night and day, the Lord gave grace to bear them. Sometimes when I felt unable to fill my appointments, I would say, ‘In faith I will place myself before the people;’ and when I did this, strength was given me to rise above my infirmities, and to bear the message the Lord had given me.” LS 343.1"
"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."
The EGW passage directly reflects the principle of relying on God's grace in weakness, mirroring Paul's experience and statement in 2 Corinthians 12:9. The explicit mention of infirmities and God's grace makes this a strong connection.