"was intense; and one in that throng, with a shrill and plaintive voice, chanted a funeral dirge to warn Luther of what awaited him. But the Reformer had counted the cost and was ready to seal his testimony with his blood if God so ordained. 1T 373.2"
"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 share the theme of being willing to face death for one's faith and testimony. Luther's readiness to 'seal his testimony with his blood' parallels Paul's statement that he doesn't count his life dear to himself.
"And ye shall be hated of all men for my name’s sake: but he that endureth to the end shall be saved."
Both passages touch on the theme of enduring persecution for one's faith. Luther facing a 'funeral dirge' and the warning of what awaited him aligns with the idea of being hated for Christ's name's sake.
"And he that taketh not his cross, and followeth after me, is not worthy of me."
The EGW passage, describing Luther's willingness to face death, thematically parallels the idea of taking up one's cross and following Jesus, which implies a willingness to endure hardship and sacrifice.