Numerous times throughout the first four books of the New Testament, Jesus is accused by the Pharisees and Religious teachers that he is breaking the laws that are supposed to be kept during the Sabbath, which is from Friday night to Saturday night. The laws that are supposed to be kept during the Sabbath are shown in the first five books of the Old Testament, also known as “The Law of Moses”. In fact, it is part of the Ten Commandments.
Remember the Sabbath day by keeping it holy. Six days you shall labor and do all your work, but the seventh day is a sabbath to the Lord your God. On it you shall not do any work, neither you, nor your son or daughter, nor your male or female servant, nor your animals, nor any foreigner residing in your towns.
When God issued this command, he meant work as in the normal type of work that do to make a living.
This does not include walking. Does anybody get paid to walk? And when Jesus heals on the Sabbath, do people pay him to heal the people? Does Jesus heal because he has a master’s degree in medical science, and he needs to make a living so that’s what he does? No. He heals to help people believe that the prophesied Messiah has come.
So why do the Pharisees do this? God, like he did with Pharoh in Exodus, shut the eyes, so there would be opposition when Jesus came. If there wasn’t any opposition, nobody would want to crucify him. Breaking the Sabbath is just one of the many arguments against Jesus the Pharisees had.