“For our sake he [God] made him [Jesus] to be sin who knew no sin, so that in him [Jesus] we might become the righteousness of God.”2 Corinthians 5:21
Notice in this verse that, by placing our faith in Jesus we receive perfect righteousness. Jesus is the actual, perfect righteousness of God. When we receive Jesus as our Savior, it’s like He pulls off a piece of Himself and puts it in you and me. Now, when God the Father looks at us, He truly sees the righteousness of His beloved Son instead of our “Swiss Cheese” righteousness.