Another comparison indicates that one brings condemnation, the other brings righteousness. This is not a reference to self-righteousness. Some Christians regard righteousness as an essentially unattractive thing. They think that it sounds like prudishness. But Paul is indicating here that righteousness is the very opposite of condemnation, the very thing that the old covenant produces.
Nothing is more desirable than to be free of condemnation.
Another distinction Paul draws between these covenants is to note that one fades away and the other is indelible. A flashlight contributes nothing once the sun comes up. In the same way, once the greater glory becomes manifest, the old covenant fades away. Paul is not saying that God's first approach to mankind was evil, ugly, or deceptive. The law is a good thing, as the book of Romans says, in and of itself.