Jesus did nothing wrong to be punished with crucifixion. Pilate and King Herod verified it.
Jesus did nothing to be beaten, insulted and broken. He even asked the religious leaders on the reason, and the only one they thought it was justifiable was that he declared to be the Son of the Most High God.
It pleased God to send His only begotten son, to the world created by Him and for Him, but who had turned their back on Him.