The first reason Jesus died was because of the problem of sin, and the second reason is to reconcile us to God.
Every human being is prone to sin. Because of our sinful nature.
And with sin comes separation from God.
So Jesus Christ needed to reconcile us back to God.
And with reconciliation comes freedom to experience the beauty of life in the way God intended it to be.
That is basically why He died for us.