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

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

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