One cannot see Matthew 23:3b, For they preach, but do not practice,
as meaning the good works of the scribes and Pharisees in which they applied their doctrine, as Jesus made this statement in a specific context. The works of the scribes and Pharisees had included their aggression against him. As well, since they had rejected John’s baptism, people could not follow in that. Jesus does not break with the scribes and Pharisees, nor with their doctrine, but warns the crowd and his disciples against their unbelieving works against John and himself. It is those works that bring division between him and the leaders on this point. The Pharisees’ works conflicted with their own doctrine. Jesus is not deviating from Moses, but is exposing the leaders’ inconsistency, for Moses’ doctrine should lead them to accept him.
The Pharisees’ adherence to the law was often insincere, being carried out to gain something from it., not fulfilling it in love, as God required, thus failing to fulfill the most vital part of it (Matthew 15:4–9).
One cannot interpret Matthew 23:3b, For they preach, but do not practice,
as referring to all the good works of the scribes and Pharisees in which they themselves also apply their doctrine, as Jesus made this statement in a very specific context. During a previous interaction, the works of the scribes and Pharisees consisted of all kinds of aggression against him. Moreover, it is also known that they rejected John’s baptism. In that specific situation people cannot follow their deeds. Jesus does not break with the scribes and Pharisees, nor with their doctrine, but he opposes their unbelieving works against John and himself. He warns the crowds and his disciples against those works. It is those works that bring about a division between him and the leaders on this point. The works of the Pharisees were in conflict with their own doctrine. Jesus, however, does not deviate from Moses, and he exposes the inconsistency of the leaders. It is precisely the doctrine of Moses that should lead them to acceptance of him instead of rejection.1
The Pharisees’ adherence to the law was not always sincere, for they often wanted to try and gain something from it. They knew and learned the law, but did not fulfill it in love, that is, not as God required of them. Thus they actually failed to fulfill the most important part of the law (see Matthew 15:4–9).2
3 Faites donc et observez tout ce qu'ils vous disent; mais n'agissez pas selon leurs œuvres. Car ils disent, et ne font pas.