Was Jesus Born So He Could Die?

In the churches I attended growing up, I was told that Jesus died so my sins could be forgiven. My teachers said that my sins deserved the ultimate penalty. But since Jesus had endured the punishment that I deserved, I could receive God’s forgiveness by accepting what Jesus had done for me.