This sounds roughly like the sorts of criticisms Jesus would make of the ‘legalism’ of the Pharisees, by which I mean an excessive emphasis on external acts - going through the motions - to appear to obey the law while neglecting its spiritual purpose. A good example is where the Pharisees criticize Jesus for working on the Sabbath when he heals a man. Another is where the Pharisees bring an adulteress to Jesus, and he remarks that any man who lusts after a woman has already committed adultery in his heart. And then there are the parts where the Pharisees try to trap Jesus, such as when they try to find loopholes to justify divorce.
Post-Christian Judaism following the destruction of the Temple only entrenched this Pharisaism by turning the faith away from one of Temple sacrifice, complete with a Temple priesthood, to one hyperfocused on slicing and dicing the Torah. (The Catholic mass continues the sacrificial liturgy, albeit in a perfect and elevated form; the Mosaic covenant is fulfilled and the perfect sacrifice of Christ - the spotless Lamb of God - becomes the sacrificial lamb for which the prior animal sacrifice was a preparation.)