Just to be clear, Jesus was in no way at all telling that man to bypass keeping the Ten Commandments. As long as we love God and others we are automatically keeping the Ten Commandments. We are supposed to move from learning and knowing to the application of relational doing.
The 10 commandants were at best a starting point, not the end all.
The commandments say "do not murder", but Jesus says hate is just as bad as murder.
21 “You have heard that it was said to those of old, ‘You shall not murder; and whoever murders will be liable to judgment.’ 22 But I say to you that everyone who is angry with his brother will be liable to judgment; whoever insults[d] his brother will be liable to the council; and whoever says, ‘You fool!’ will be liable to the hell of fire.
The commandments say "do not commit adultery", but Jesus says looking at a woman with lust is just as bad.
“You have heard that it was said, ‘You shall not commit adultery.’ 28 But I say to you that everyone who looks at a woman with lustful intent has already committed adultery with her in his heart.
Do you not agree that these passages more correctly reflect the views of Jesus than the 10 Commandments?
3 “Blessed are the poor in spirit, for theirs is the kingdom of heaven.
4 “Blessed are those who mourn, for they shall be comforted.
5 “Blessed are the meek, for they shall inherit the earth.
6 “Blessed are those who hunger and thirst for righteousness, for they shall be satisfied.
7 “Blessed are the merciful, for they shall receive mercy.
8 “Blessed are the pure in heart, for they shall see God.
9 “Blessed are the peacemakers, for they shall be called sons[
a] of God.
10 “Blessed are those who are persecuted for righteousness' sake, for theirs is the kingdom of heaven.
11 “Blessed are you when others revile you and persecute you and utter all kinds of evil against you falsely on my account. 12 Rejoice and be glad, for your reward is great in heaven, for so they persecuted the prophets who were before you.