That’s an accusation of the Pharisees, not God. The Bible is clear that Christ kept the Sabbath and was sinless.
Jesus broke the rules but He was sinless. That is true. When Jesus’ disciples picked wheat on the Sabbath, they broke the rule. But they didn’t violate the intent.
The problem with religious rules is that they tend to become the focus of the religion.