Mark 2
23One Sabbath Jesus was going through the grainfields, and as his disciples walked along, they began to pick some heads of grain. 24The Pharisees said to him, “Look, why are they doing what is unlawful on the Sabbath?”
25He answered, “Have you never read what David did when he and his companions were hungry and in need? 26In the days of Abiathar the high priest, he entered the house of God and ate the consecrated bread, which is lawful only for priests to eat. And he also gave some to his companions.”
27Then he said to them, “The Sabbath was made for man, not man for the Sabbath. 28So the Son of Man is Lord even of the Sabbath.”
John 9:14
Now the day on which Jesus had made the mud and opened the man’s eyes was a Sabbath.
Matthew 12:10
and a man with a shriveled hand was there. Looking for a reason to accuse Jesus, they asked him, “Is it lawful to heal on the Sabbath?”
Mark 3:2
Some of them were looking for a reason to accuse Jesus, so they watched him closely to see if he would heal him on the Sabbath.
Luke 6:7
The Pharisees and the teachers of the law were looking for a reason to accuse Jesus, so they watched him closely to see if he would heal on the Sabbath.
Luke 13:10
A Crippled Woman Healed on the Sabbath ] On a Sabbath Jesus was teaching in one of the synagogues,
Luke 13:14
Indignant because Jesus had healed on the Sabbath, the synagogue ruler said to the people, “There are six days for work. So come and be healed on those days, not on the Sabbath.”
Luke 14:3
Jesus asked the Pharisees and experts in the law, “Is it lawful to heal on the Sabbath or not?”
John 5:10
and so the Jews said to the man who had been healed, “It is the Sabbath; the law forbids you to carry your mat.”
John 7:23
Now if a child can be circumcised on the Sabbath so that the law of Moses may not be broken, why are you angry with me for healing the whole man on the Sabbath?
In Jesus and David’s case it was a matter of need, and not a deliberate sin. Jesus also, made men whole on the sabbath.
Luke 14:5
And answered them, saying, Which of you shall have an *** or an ox fallen into a pit, and will not straightway pull him out on the sabbath day?
Jesus taught that there was a difference between doing something that is neccessary on the sabbath vs doing something that is not neccessary.
If an animal fell into a well, one would rescue that animal from drowning.