Hebrews 7:19 “(for the law made nothing perfect), and a bringing in of a better hope, through which we draw near to God.”
The Greek word translated “bringing in” means superintroduction. In the Greek it is a combination of the words superimposition and introduction. Superimposition is to “place or lay (one thing) over another, typically so that both are still evident”.
So the new covenant did not replace, but was laid over the first covenant. Both are still evident and with us today. So the perfect law made nothing perfect, but we are given a better hope with the new covenant overlaid upon the first.