Is the following in the Bible&if so where

Did Jesus say to the crowds"do not do as they do but do what they say".Referring to priests&teachers in the temple.May i get the writer&verse.Thanks,Merry&holy Christmas

Matt 23

a Then Jesus spoke to the crowds and to his disciples,

  • saying, “The scribes and the Pharisees have taken their seat on the chair of Moses.
    Therefore, do and observe all things whatsoever they tell you, but do not follow their example. For they preach but they do not practice.