In the Letter to the Hebrews, perfection means achieving a desired goal rather than being flawless (see study note on 5:9). The priesthood under the old covenant could not fulfill all of God's intentions for a covenant relationship with his people. This is why God needed to create a different priesthood.