The two greatest commandments are above the ten commandments.
Jesus fulfilled the two greatest commandments in the law.
Jesus then invoked a new covenant based on His blood and we also were given the two new commandments.
Luke 22:20
And in the same way He took the cup after they had eaten, saying,
“This cup which is poured out for you
is the new covenant in My blood."
The two shiny new commandments are version 2 of the former two greatest commandments.
1 John 3:23-24
This is His commandment,
that we believe in the name of His Son Jesus Christ, and
love one another,
just as He commanded us.
The one who keeps His commandments abides in Him, and He in him.
We know by this that He abides in us, by the Spirit whom He has given us.
As for the former ten commandments if you just treat others as you would have them treat you.
You have fulfilled the law and the prophets.
Matthew 7:12
In everything, therefore, treat people the same way you want them to treat you,
for this is the Law and the Prophets.