Which makes sense in the context of the story and its religious implications because Jesus could not be the savior of humanity if he wasn’t crucified.
In what way does the last part make sense? Just asking because it only really does if you buy the whole inherited sin idea and the idea that sins can somehow be transferred to another and the idea that death somehow absolves someone of their sins even without the eternal punishment part that comes after in the rest of the belief system. The term fractally wrong comes to mind, no matter how many of the ideas you exclude from scrutiny and treat as a given, the rest still doesn’t make sense.