There is nothing a person can do on their own to get right with God. It takes perfection. We are not perfect so we must die. But there is a work that has been done to make sinners right before a holy God. The finished work of Jesus Christ alone saves sinners. When a sinner turns from sin and trusts in Jesus Christ God sees the wage/penalty of sin, which is death, paid in full. Trust in Jesus Christ today.
Therefore when Jesus had received the sour wine, He said, “It is finished.” And He bowed His head and gave up His spirit.