This is the mystery of salvation. We die so that we can be free from the penalty of death, and we live in the life Christ provides us.
"My old self has been crucified with Christ. It is no longer I who live, but Christ lives in me. So I live in this earthly body by trusting in the Son of God, who loved me and gave himself for me." (NLT)