No...
John quoted Jesus giving us the New Laws.
Apparently you don't read them or know them.
Why are you ignoring the very words of Jesus/God?
it is well known that what you refer as the new laws are a condensed version of the 10 commandments;
Mat 22:34 And when the Pharisees heard that Jesus had silenced the Sadducees, they themselves gathered together.
Mat 22:35 One of them, an expert in the law, tested Him with a question:
Mat 22:36 “Teacher, which commandment is the greatest in the Law?”
Mat 22:37 Jesus declared, “‘Love the Lord your God with all your heart and with all your soul and with all your mind.’
Mat 22:38 This is the first and greatest commandment.
Mat 22:39 And the second is like it: ‘Love your neighbor as yourself.’
Mat 22:40 All the Law and the Prophets hang on these two commandments.”
T
he first of the two;
Mat 22:37 Jesus declared, “‘
Love the Lord your God
with all your heart and with all your soul and with all your mind.’
Mat 22:38 This is the first and greatest commandment.
If you love GOD above all else you will follow; the first four commandments.
Exo 20:1 And God spoke all these words:
Exo 20:2 “I am the LORD your God, who brought you out of the land of Egypt, out of the house of slavery.
Exo 20:3 You shall have no other gods before Me.
Exo 20:4 You shall not make for yourself an idol in the form of anything in the heavens above, on the earth below, or in the waters beneath.
Exo 20:5 You shall not bow down to them or worship them; for I, the LORD your God, am a jealous God, visiting the iniquity of the fathers on their children to the third and fourth generations of those who hate Me,
Exo 20:6 but showing loving devotion to a thousand generations of those who love Me and keep My commandments.
Exo 20:7 You shall not take the name of the LORD your God in vain, for the LORD will not leave anyone unpunished who takes His name in vain.
Exo 20:8 Remember the Sabbath day by keeping it holy.
Exo 20:9 Six days you shall labor and do all your work,
Exo 20:10 but the seventh day is a Sabbath to the LORD your God, on which you must not do any work—neither you, nor your son or daughter, nor your manservant or maidservant or livestock, nor the foreigner within your gates.
Exo 20:11 For in six days the LORD made the heavens and the earth and the sea and all that is in them, but on the seventh day He rested. Therefore the LORD blessed the Sabbath day and set it apart as holy.
the second of the two;
Mat 22:39 And the second is like it: ‘
Love your neighbor as yourself.’
if you love your neighbour as yourself you will do the last six commandment;
Exo 20:12 Honor your father and mother, so that your days may be long in the land that the LORD your God is giving you.
Exo 20:13 You shall not murder.
Exo 20:14 You shall not commit adultery.
Exo 20:15 You shall not steal.
Exo 20:16 You shall not bear false witness against your neighbor.
Exo 20:17 You shall not covet your neighbor’s house. You shall not covet your neighbor’s wife, or his manservant or maidservant, or his ox or donkey, or anything that belongs to your neighbor.”
The 2 commandments are in fact the 10 commandments explained simply, they originate from God who is Love.