If you wish to understand the verse you cited you will have to put it into context. You say it means don't keep the commandments of God, yet when those he was speaking to asked what he meant he said "labor" for eternal life hes said:
Joh 6:29 NIV Jesus answered, "
The work of God is this: to believe in the one he has sent." Look up "Beleive" it is greek word "pisteou"
Here's the Vines Greek Dictionary def that applies:
B2. Obedience, Obedient, Obey [Verb] peitho "to persuade, to win over," in the Passive and Middle Voices, "to be persuaded, to listen to, to obey," is so used with this meaning, in the Middle Voice, e.g., in
Acts 5:36-37 (in
Acts 5:40, Passive Voice, "they agreed");
Rom 2:8; Gal 5:7; Heb 13:17; James 3:3. The "obedience" suggested is not by submission to authority, but resulting from persuasion.
"Peitho and pisteuo" 'to trust,' are closely related etymologically; the difference in meaning is that the former implies the obedience that is produced by the latter, cp.
Heb 3:18,19, where the disobedience of the Israelites is said to be the evidence of their unbelief. Faith is of the heart, invisible to men; obedience is of the conduct and may be observed. When a man obeys God he gives the only possible evidence that in his heart he believes God. Of course it is persuasion of the truth that results in faith (we believe because we are persuaded that the thing is true, a thing does not become true because it is believed), but peitho, in NT suggests an actual and outward result of the inward persuasion and consequent faith." [ From Notes on Thessalonians, by Hogg and Vine, pp. 254,255.] See
peitho under
ASSURANCE.
So if you have taken the time to read this far you should see that Jesus explained the meaning of the verse you cited as His putting away the Law, to actually be understood as to "Obey the one who sent me"
Once you take the time to study beyond the "English" translation you will find clarity.
With eSword (free bible software) we have more study tools with which to study the Greek and Hebrew manuscripts that anyone has had at any other time in history. All of these resources are "interlinked" so that you merely have click and you are there! Take a look at it.