Jesus and God both work on the Sabbath and they were persecuted for it.
John 5:16-18
16 For this reason the Jews were persecuting Jesus, because He was doing these things on a Sabbath. 17 But He answered them, “My Father [a]is working until now, and I Myself am working.