"Our lives are interwoven with the cause of God. We have no separate interest aside from this work. And when we see the advancement that the cause has made from a very small beginning, coming up slowly yet surely to strength and prosperity; as we see the success of the cause in which we have toiled, and suffered, and nearly sacrificed our lives, who shall prevent or forbid our boasting in God? Our experience in this cause is valuable to us. We have invested everything in it. 3T 319.1"
"But none of these things move me, neither count I my life dear unto myself, so that I might finish my course with joy, and the ministry, which I have received of the Lord Jesus, to testify the gospel of the grace of God."
Both passages express a willingness to sacrifice one's life for the sake of the gospel. EGW's statement about investing everything in the cause and nearly sacrificing their lives parallels Paul's sentiment in Acts 20:24 of not counting his life dear to himself in order to finish his ministry.
"I acknowledged my sin unto thee, and mine iniquity have I not hid. I said, I will confess my transgressions unto the Lord; and thou forgavest the iniquity of my sin. Selah."
The EGW passage directly references the act of confessing sins, which is the central theme of Psalm 32:5. The brevity of the EGW quote doesn't diminish the clear connection.