Isaiah 53:9-10a
And they made his grave with the wicked and with a rich man in his death, although he had done no violence, and there was no deceit in his mouth. Yet it was the will of the Lord to crush him; he has put him to grief.
Jesus was condemned as a criminal although he was totally innocent in word and deed. He didn't just suffer, he died and was buried (with a rich man in his death - fulfilled by Jesus burial in Joseph of Arimathea's tomb, see Matt 27:57-60). Why did this massive "injustice" happen. It wasn't an accident. It happened because it was God's will - it was God's rescue plan.
Acts 2:23 this Jesus, delivered up according to he definite plan and foreknowledge of God, you crucified and killed by the hands of lawless men.