Through him we have also obtained access by faith into this grace in which we stand, and we rejoice in hope of the glory of God.
Romans 5:2 ESV
Forgiveness of sins and eternal life are gifts from God that we couldn’t possibly earn no matter what we do, and even God’s grace to grant them to us in response to our faith in him would have no effect if Yeshua had not died to enable the removal of our sins.