@Wynona One "righteousness" comes from knowing God, and reveals God, the other comes from someone disconnected from God, and reveals their own self, leading to boasting.
In truth, "righteousness" is one and the same as the revelation of God.
1 John 1
1That which was from the beginning, which we have heard, which we have seen with our own eyes, which we have gazed upon and touched with our own hands—this is the Word of life.
2And this is the life that was revealed; we have seen it and testified to it, and we proclaim to you the eternal life that was with the Father and was revealed to us.
3We proclaim to you what we have seen and heard, so that you also may have fellowship with us. And this fellowship of ours is with the Father and with His Son, Jesus Christ.
4We write these things so that our
a joy may be complete.
If
unrighteousness suppresses the truth about God;
righteousness, by definition,
reveals the truth about God--this is why Paul asks "If by my lie, God's truth [ie, God's speech condemning my sin] abounds to His glory, why am I still being judged as a sinner?"
When those who know God reveal God, that is "righteousness", and its aim is to make people know, fellowship with, God (which is "eternal life" (Jn 17:3)).
Therefore, knowing the glory of God is the true means of righteousness, but none of that means that there are not
acts involved, just that they do not reveal self, but God. How could you reveal God, be righteous, without God revealing Himself to you in the first place, by grace?