First of all, don’t fall into the trap of “interpreting” the Bible by reading only a few verses.
17 Do you not realize that everything that enters the mouth passes into the stomach and is expelled into the latrine? 18 But the things that come out of the mouth come from the heart, and they defile. Jesus clearly tells us that rigid following of the dietary laws is not what saves us – it is what is in our hearts and minds that counts.
Elsewhere, he tells us:
14 Then the disciples of John approached him and said, “Why do we and the Pharisees fast (much), but your disciples do not fast?” 15 Jesus answered them, “Can the wedding guests mourn as long as the bridegroom is with them? The days will come when the bridegroom is taken away from them, and then they will fast. 11 16 No one patches an old cloak with a piece of unshrunken cloth, 12 for its fullness pulls away from the cloak and the tear gets worse. 17 People do not put new wine into old wineskins. Otherwise the skins burst, the wine spills out, and the skins are ruined. Rather, they pour new wine into fresh wineskins, and both are preserved.” (Matthew 9,14-17)Similarly,
7 6 They said to him, “Then why did Moses command that the man give the woman a bill of divorce and dismiss (her)?” 8 He said to them, “Because of the hardness of your hearts Moses allowed you to divorce your wives, but from the beginning it was not so. 9 I say to you, 7 whoever divorces his wife (unless the marriage is unlawful) and marries another commits adultery.” (Matthew 19, 7-9)
And again, Matthew 12,10-13
10 And behold, there was a man there who had a withered hand. They questioned him, “Is it lawful to cure on the sabbath?” 7 so that they might accuse him. 11 8 He said to them, “Which one of you who has a sheep that falls into a pit on the sabbath will not take hold of it and lift it out? 12 How much more valuable a person is than a sheep. So it is lawful to do good on the sabbath.” 13 Then he said to the man, “Stretch out your hand.” He stretched it out, and it was restored as sound as the other.
Again and again, Jesus presents us with a different view of the “Law” – not a sterile, legalistic view, but a warm, loving view.