Death on the cross was His whole purpose. That's why He wasn't afraid. Death on the cross was obedience.
When we are afraid, if we will put our focus on being obedient, then everything else fades in the background.
Easter - Fearless, Part 1
Matthew 27:11-26