"For no one can ever be made right with God by doing what the law commands. The law simply shows us how sinful we are.
But now God has shown us a way to be made right with him without keeping the requirements of the law, as was promised in the writings of Moses and the prophets long ago.
We are made right with God by placing our faith in Jesus Christ. And this is true for everyone who believes, no matter who we are.
For everyone has sinned; we all fall short of God's glorious standard. Yet God, with undeserved kindness, declares that we are righteous. He did this through Christ Jesus when he freed us from the penalty for our sins. For God presented Jesus as the sacrifice for sin.
People are made right with God when they believe that Jesus sacrificed his life, shedding his blood. This sacrifice shows that God was being fair when he held back and did not punish those who sinned in times past, for he was looking ahead and including them in what he would do in this present time.
God did this to demonstrate his righteousness, for he himself is fair and just, and he declares sinners to be right in his sight when they believe in Jesus."
Romans 3:20-26 New Living Translation