It wasn't because Jesus didn't keep the Sabbath, it was because according to their standard he broke it. But He didnt break it. They looked for any way to accuse Him.
John 5:15 The man departed, and told the Jews that it was Jesus, which had made him whole.
John 5:16 And therefore did the Jews persecute Jesus, and sought to slay him, because he had done these things on the sabbath day.
John 5:17 But Jesus answered them, My Father worketh hitherto, and I work.
There's another account in Mark 3, that is very similar. He healed the man with the withered hand on the Sabbath.
Mark 3:1 And he entered again into the synagogue; and there was a man there which had a withered hand.
Mark 3:2 And they watched him, whether he would heal him on the sabbath day; that they might accuse him.
Mark 3:3 And he saith unto the man which had the withered hand, Stand forth.
Mark 3:4 And he saith unto them, Is it lawful to do good on the sabbath days, or to do evil? to save life, or to kill? But they held their peace.
Mark 3:4 And he saith unto them, Is it lawful to do good on the sabbath days, or to do evil? to save life, or to kill? But they held their peace.
Mark 3:5 And when he had looked round about on them with anger, being grieved for the hardness of their hearts, he saith unto the man, Stretch forth thine hand. And he stretched it out: and his hand was restored whole as the other.
Mark 3:6 And the Pharisees went forth, and straightway took counsel with the Herodians against him, how they might destroy him.
God has always desired mercy more than sacrifice:
Hosea 6:6 For I desired mercy, and not sacrifice; and the knowledge of God more than burnt offerings.
Proverbs 21:3 To do justice and judgment is more acceptable to the LORD than sacrifice.