"Often He met those who had drifted under Satan's control, and who had no power to break from his snare. To such a one, discouraged, sick, tempted, fallen, Jesus would speak words of tenderest pity, words that were needed and could be understood. Others He met who were fighting a hand-to-hand battle with the adversary of souls. These He encouraged to persevere, assuring them that they would win; for angels of God were on their side and would give them the victory. MH 26.1"
"Come unto me, all ye that labour and are heavy laden, and I will give you rest."
Both passages describe Jesus offering comfort and hope to the weary and burdened. The EGW passage elaborates on Jesus's interactions with those struggling against Satan, echoing the promise of rest and encouragement found in Matthew 11:28.
"At the table of the publicans He sat as an honored guest, by His sympathy and social kindliness showing that He recognized the dignity of humanity; and men longed to become worthy of His confidence. Upon their thirsty hearts His words fell with blessed, life-giving power. New impulses were awakened, and to these outcasts of society there opened the possibility of a new life. MH 26.2"
"And when Jesus came to the place, he looked up, and saw him, and said unto him, Zaccheus, make haste, and come down; for to day I must abide at thy house."
Both passages describe Jesus interacting with outcasts and offering them a chance for a new life. The EGW passage expands on the idea of Jesus's social interaction and its positive impact, while Luke 19:5 provides a specific example of this with Zacchaeus.