Read John 7:23 Using Other Translations
If a man on the sabbath day receive circumcision, that the law of Moses should not be broken; are ye angry at me, because I have made a man every whit whole on the sabbath day?
If on the Sabbath a man receives circumcision, so that the law of Moses may not be broken, are you angry with me because on the Sabbath I made a man's whole body well?
For if the correct time for circumcising your son falls on the Sabbath, you go ahead and do it so as not to break the law of Moses. So why should you be angry with me for healing a man on the Sabbath?