The next couple sentences in Matthew 5 pretty much kick that to the curb.
Whosoever therefore shall break one of these least commandments, and shall teach men so, he shall be called the least in the kingdom of heaven: but whosoever shall do and teach them, the same shall be called great in the kingdom of heaven. -Matthew 5:19
The back half of Matthew 5 is taking the Hebrew to task for being hypocrites. He never says the law is wrong. Just that they aren't living up to it, and then sets an EVEN HIGHER standard.
The next couple sentences in Matthew 5 pretty much kick that to the curb.
Whosoever therefore shall break one of these least commandments, and shall teach men so, he shall be called the least in the kingdom of heaven: but whosoever shall do and teach them, the same shall be called great in the kingdom of heaven. -Matthew 5:19
The back half of Matthew 5 is taking the Hebrew to task for being hypocrites. He never says the law is wrong. Just that they aren't living up to it.