Jesus' words will never pass away, not Moses' words. We won't even think about the 10 commandments when perfection comes. Do you see them mentioned in the revelation?
I will raise them up a Prophet from among their brethren, like unto thee, and will put my words in his mouth; and he shall speak unto them all that I shall command him. And it shall come to pass, that whosoever will not hearken unto my words which he shall speak in my name, I will require it of him. Deuteronomy 18:18-19
For, behold, I create new heavens and a new earth: and the former shall not be remembered, nor come into mind. Isaiah 65:17
You may not think about His Commandments but those who inherit eternal life will...
Rev 22:11 He who is unjust, let him be unjust still; he who is filthy, let him be filthy still; he who is righteous, let him be righteous still; he who is holy, let him be holy still."
Rev 22:12 "And behold, I am coming quickly, and My reward is with Me, to give to every one according to his work.
Rev 22:13 I am the Alpha and the Omega, the Beginning and the End, the First and the Last."
Rev 22:14
Blessed are those who do His commandments, that they may have the right to the tree of life, and may enter through the gates into the city.
What city? Back up a little in Rev...
Rev 21:1 Now I saw a new heaven and a new earth, for the first heaven and the first earth had passed away. Also there was no more sea.
Rev 21:2 Then I, John, saw the holy city, New Jerusalem, coming down out of heaven from God, prepared as a bride adorned for her husband.
Rev 21:7 He who overcomes shall inherit all things, and I will be his God and he shall be My son.
Rev 21:8 But the cowardly, unbelieving, abominable, murderers, sexually immoral, sorcerers, idolaters, and all liars shall have their part in the lake which burns with fire and brimstone, which is the second death."
Rev 21:9 Then one of the seven angels who had the seven bowls filled with the seven last plagues came to me and talked with me, saying, "Come, I will show you the bride, the Lamb's wife."
Rev 21:10 And he carried me away in the Spirit to a great and high mountain, and showed me the great city, the holy Jerusalem, descending out of heaven from God,
This then continues into Rev 22 where we read
Rev 22:14 Blessed are those who do His commandments, that they may have the right to the tree of life, and may enter through the gates into the city.