New Testament

Matthew 5:17-20

17 “Do not think that I have come to abolish the law or the prophets. I have not come to abolish these things but to fulfill them. 18 I tell you the truth, until heaven and earth pass away not the smallest letter or stroke of a letter will pass from the law until everything takes place. 19 So anyone who breaks one of the least of these commands and teaches others to do so will be called least in the kingdom of heaven, but whoever obeys them and teaches others to do so will be called great in the kingdom of heaven. 20 For I tell you, unless your righteousness goes beyond that of the experts in the law and the Pharisees, you will never enter the kingdom of heaven!

Rabbinic

Sanhedrin 107a

David requested: “And I shall be clear from great transgression”, meaning that my transgression with Bathsheba and Uriah will not be written in the Bible. God said to him: That is impossible. And just as the letter yod that I removed from the name of Sarai, wife of Abraham, when I changed her name to Sarah, was standing and screaming several years over its omission from the Bible until Joshua came and I added the yod to his name, as it is stated: “And Moses called Hosea, son of Nun, Joshua [Yehoshua]”; the entire portion of your transgression, which is fit to be included in the Bible, all the more so it cannot be omitted.