No, people were mistaken. People made up laws that were not Gods, like not allowing men who had been castrated to enter a temple, or banishing people who had been dismembered to hell. People misunderstood what God wanted, and Jesus was sent to correct them.