Only a corrupt judge would do that. A good judge would say …
Justice demands that you pay for your crimes.
God is a Holy, Righteous Judge. He hates sin! Jesus warned that God is His wrath, will cast all who sin against Him into Eternal Fire “Where there will be weeping and gnashing of teeth.” Matthew 13:42
Then how can anyone get to Heaven?
There’s only one way …
If a sinless person offered to take your punishment, then justice would be served and you could go free!