The song Valjean sings reveals his dilemma and his sentence. It depends upon his choice. If he lets the convict take his place, God will damn him. If he admits who he is, he will be condemned to death. Although neither one seems a preferred option, Jean realizes that, according to Hebrews 10:31:
It is a fearful thing to fall into the hands of the living God.
He decides it's much better to confess and do what is right, and be condemned by man, rather than be dishonest, causing an innocent man to suffer, and be damned forever.
What's so amazing is that Jesus, the sinless, innocent Son of God, DID take our place...on the cross. We were to be damned, but Jesus took our sin upon himself, and was mocked, beaten and crucified for us. And what do we need to do? Nothing. The work is done.
Jesus asks only that we:
Admit we have sinned, ask Jesus to forgive us, and believe He has washed our sins away. Jesus Christ wants to be your Savior, your Master and your Lord. He has written a "love letter" to you. It's called the Bible. It's a guidebook to help you through this troublesome world. You'll never need to be afraid again, and will have a friend beside you through the ups and downs of life. Someday, you will go to be with Him, "beyond the barricade" where no sorrow, pain, or evil exists.