There is a war being waged by this world against good deeds, and against those decent souls who try to do good. Our society, our government, and the devil himself are constantly seeking to prohibit our doing good, as God has commanded us to do.
The wicked rulers not only sought to stop Jesus from healing poor helpless people on the Sabbath, but they also objected to His eating with sinners, consorting with them, and preaching them the Gospel of repentance and salvation by trusting in His Name.
Over and over, wicked men objected when Christ ate with sinners. They recoiled from Jesus seeking after the lost to save them. They criticized Him for eating with tax collectors at the Apostle Matthew's home.
Jesus' reply was that sinners need a savior, just like sick people need a physician. He rebuked them for not obeying God's commandment that He would have mercy over mere ceremonial obedience.
When they later attacked the Lord Jesus for receiving sinners in public when they came gladly to hear His preaching, He described to them how God rejoices over the saving of lost sheep, and what great joy He has in saving them!
The most striking example is the objection of wicked men against Jesus when He went to visit Zacchaeus the tax collector. In this case, Christ's ministry to the poor man resulted in Zacchaeus' salvation, and Jesus exulted in it!
The fact is, by receiving poor sinners, eating with them, and preaching the Gospel to them, Jesus was doing good to poor sinners. This good by Christ was far better than the good He did in healing poor sick people.
But wicked people tried to stop Jesus from doing good for poor sinners, because they hated them.