"There is no example in the life of Christ for this self-righteous bigotry; His character was genial and beneficent. There is not a monastic order upon earth from which He would not have been excluded for overstepping the prescribed rules. In every religious denomination, and in almost every church, are to be found erratics who would have blamed Him for His liberal mercies. They would have found fault with Him because He ate with publicans and sinners; they would have accused Him of worldly conformity in attending a wedding feast, and would have censured Him unmercifully for permitting His friends to make a supper in honor of Him and His disciples. GW 334.4"
"And when the Pharisees saw it, they said unto his disciples, Why eateth your Master with publicans and sinners?"
The EGW passage explicitly refers to Jesus eating with publicans and sinners, which is a direct reference to the events described in Matthew 9:11. The EGW passage uses this example to illustrate Christ's character and contrast it with self-righteous bigotry.