But of Him are ye in Christ Jesus, who of God is made unto us… righteousness… – 1 Corinthians 1:30
In the mystical body, every member is made righteous before God, because joined to the living Head. Here is an actual righteousness given to us through the righteousness of Jesus Christ our Lord. He is made of God unto us righteousness. Consider this, O believer-you are (right now) righteous before God. You are a sinner in yourself worthy to be condemned, but God does not condemn you, nor ever will He do so, for before the eye of His justice you are arrayed in perfect righteousness. Your sin is not upon you: it was laid upon the Scapegoat’s head of old. All your iniquities were made to meet upon the head of the Crucified Savior: He bore your transgressions in His own body on the tree. Where are your sins now? You may ask the question without fear, for they have ceased to be. “As far as the east is from the west, so far hath He removed our transgressions from us.” “He hath cast our iniquities into the depths of the sea.” Glory be to His name; there is no sin in existence against a believer. Is it not written: “He hath finished transgression, made an end of sin [what stronger expression can there be?], and brought in everlasting righteousness”?…In God’s sight you are as much “accepted in the Beloved,” as you will be when you stand on the sea of glass mingled with fire. You are beloved of God, and dear to Him and justified, so that even (now) you can say: “Who shall lay anything to the charge of God’s elect? It is God that justifieth. Who is he that condemneth?” You cannot lift up a louder boast than that, even when you shall see your Savior, and shall be like Him because you see Him as He is. By faith this righteousness is yours at this present moment and will always be yours without a change; yours when your spirit is cast down, as much as when your joys abound. You are accepted not because of anything in yourself, but because you stand in the Lord your righteousness. ~ C.H. Spurgeon
https://www.blueletterbible.org/comm/spurgeon_charles/sermons/0991.cfm