Jesus died to free us from the bonds of sin. He died so that no longer would we be slaves to sin but that we would be slaves to God. He died that we would live for the glory of God in all that we do. As John Piper said, “Christ died for the glory of Christ.”
2 Corinthians 5:15 (ESV)
15 and he died for all, that those who live might no longer live for themselves but for him who for their sake died and was raised.
Philippians 3:7–8 (ESV)
7 But whatever gain I had, I counted as loss for the sake of Christ. 8 Indeed, I count everything as loss because of the surpassing worth of knowing Christ Jesus my Lord. For his sake I have suffered the loss of all things and count them as rubbish, in order that I may gain Christ