Whatsoever they bid you observe, [that] observe and do. While in Moses' seat, presenting the law of Moses. He has elsewhere taught that the traditions they added were to be rejected (Matthew 15:3-6).
Do not ye after their works. Do not follow their examples. The law of Moses was still in force, for the Christian dispensation was not ushered in until Christ died, and hence was still to be obeyed, but the wicked example of its teachers was to be rejected.