 He died by the most shameful way to die in antiquity, through death on a cross. So one of the strong motivations for telling the tale the way that the New Testament writers told it is to make clear that though this would appear to be the most horrific and shameful death ever, that yet he was still not only a good person, but he was God's person on top of that, and that after his death, God vindicated him.