Isaiah 53: 4-5
Surely our griefs (sickness) He Himself bore, and our sorrows (pains) He carried; yet we ourselves esteemed Him stricken, smitten of God and afflicted. But he was pierced through for our transgressions, He was crushed for our iniquities; the chastening for our well-being fell upon Him, and by His scourging (stripes) we are healed.
There are reasons for every part of Jesus arrest, sentencing and crucifixion.