1 Peter 3:18 “For Christ also suffered once for sins, the righteous for the unrighteous, that he might bring us to God, being put to death in the flesh but made alive in the spirit.”
Christ died for us, the unrighteous, the sinners, the ones that fall short the glory of God. He died to for us so that we may be righteous before God. Jesus is the one that stands between God and us.
I love the view I heard a while ago. Jesus standing between us & God. Each time God looks at us, sees us, He is looking through Jesus.