How do we know God is just and justifies the ungodly?
Answered in 1 source
God is just in His justification through the sacrificial death of Christ, who was made sin for us (2 Corinthians 5:21).
The question of how God can be just and also justify the ungodly is crucial in understanding the gospel. In 2 Corinthians 5:21, it states, 'For he hath made him to be sin for us, who knew no sin; that we might be made the righteousness of God in him.' This encapsulates the paradox of divine justice and mercy—Christ bore the sins of His people, allowing God to remain just while justifying those who believe. The sacrificial system established in the Old Testament foresaw this, where the innocent took the place of the guilty. It's through this divine transaction that God can be righteous in justifying sinners.
Commentary