Those are all good and related. Jesus answered what commandments very directly a few places.
Matt 19:16 Now behold, one came and said to Him, “Good[ Teacher,
what good thing shall I do that I may have eternal life?”
17 So He said to him, “Why do you call Me good? [
f]No one
is good but One,
that is, God.
But if you want to enter into life, keep the commandments.”
18 He said to Him, “
Which ones?”
Jesus said, “
‘You shall not murder,’ ‘You shall not commit adultery,’ ‘You shall not steal,’ ‘You shall not bear false witness,’ 19 ‘Honor your father and your mother,’ and, ‘You shall love your neighbor as yourself.’ ”
Jesus quoted directly from the Ten Commandments and the greatest commandment on how to love our neighbor. Does that mean the commandments from this same unit of Ten on how to love God we don't need to keep. Will there ever be a time we should serve others gods? No, so by the answer to this one question, we should know we should keep all of them. So Jesus in Mat 14:15 repeated what He said right in the Ten Commandments Exo 20:6 that He personally wrote Exo 31:18
Jesus addresses it again....again relating to the Ten Commandments with Judgement
Mat 5:19
Whoever therefore breaks one of the least of these commandments, and teaches men so, shall be called least in the kingdom of heaven; but whoever does and teaches them, he shall be called great in the kingdom of heaven.
I do not believe least in heaven means one is there is we look at the next verse. v20 Then Jesus goes on to quote two of the commandments so we know what He is referring to right from the Ten Commandments using thou shalt not murder and thou shalt not commit adultery as an example. He expanded on what they mean and how to keep them and relates our feelings that lead up to the literal act of committing murder which is also a sin. Jesus wants us changed from the heart, where sin begins hence why He wrote His law in our hearts Heb 8:10 so if our heart no longer has feelings of contempt and anger towards our neighbor, thou shalt not murder would automatically be kept. Living by the spirit is greater than the letter, not lessor and if doing so, every one of the Ten Commandments would be kept, not by our power but through Christ. He said I will Heb 8:18 John 14:15-18 its why the New Covenant is established on better promises Heb 8:6 not better laws because we can't make something God wrote that is perfect converting the soul Psa 19:7 more perfect.