Our Lord Jesus Christ has amended the law, we now have new set of law in the New Testament
2 Corinthians 3:6 Who also hath made us able ministers of the new testament; not of the letter, but of the spirit: for the letter killeth, but the spirit giveth life.
The 10 commandments is so much dangerous, they kill whosoever transgress it. So Apostle Paul wrote to the Hebrews
Hebrews 10:28 He that despised Moses' law died without mercy under two or three witnesses:
It is no more ten commandments in our time, the letter kills but the spirit givers life
Lord Jesus Christ elaborated it in the book of mattew
Matthew 5:21-22 Ye have heard that it was said by them of old time, Thou shalt not kill; and whosoever shall kill shall be in danger of the judgment:
But I say unto you, That whosoever is angry with his brother without a cause shall be in danger of the judgment: and whosoever shall say to his brother, Raca, shall be in danger of the council: but whosoever shall say, Thou fool, shall be in danger of hell fire.
Matthew 5:27-28 Ye have heard that it was said by them of old time, Thou shalt not commit adultery:
But I say unto you, That whosoever looketh on a woman to lust after her hath committed adultery with her already in his heart.