Matthew 23:3

For they say and do not (legousin kai ou poiousin). "As teachers they have their place, but beware of following their example" (Bruce). So Jesus said: "Do not ye after their works " (mh poieite). Do not practice their practices. They are only preachers. Jesus does not here disapprove any of their teachings as he does elsewhere. The point made here is that they are only teachers (or preachers) and do not practice what they teach as God sees it.