Jesus regularly encountered opposition when He healed on the Sabbath for his opponents said He was doing work which was forbidden on the Sabbath.  Jesus' response was never to deny that His healing was work, but only that He was doing good.  His point was that the Sabbath law was never meant to prevent anyone from doing good.