Jesus fully supported everything in the Old Testament. Here is Jesus speaking specifically on the topic of Old Testament teachings:
The Law Stands“For truly, I say to you, till heaven and earth pass away, not an iota, not a dot, will pass the law until all is accomplished. Whoever then relaxes one of the least of these commandments and teaches men so, shall be called least in the kingdom of heaven; but he who does them and teaches them shall be called great in the kingdom of heaven.” — Matthew 5:18-19
“It is easier for Heaven and Earth to pass away than for the smallest part of the letter of the law to become invalid.” (Luke 16:17)
“Do not think that I have come to abolish the law or the prophets. I have come not to abolish but to fulfill. Amen, I say to you, until heaven and earth pass away, not the smallest part or the smallest part of a letter will pass from the law, until all things have taken place.” (Matthew 5:17)
“Did not Moses give you the law, and yet none of you keepeth the law” (John7:19)
Keep in mind, this is Jesus Christ saying this–in the Bible that all Christians own and cherish. Don’t take my word for it; look it up–it’s all there.