Then he released Barabbas for them; but after having Jesus scourged, he handed Him over to be crucified. Then the soldiers of the governor took Jesus into the Praetorium and gathered the whole Roman cohort around Him. They stripped Him and put a scarlet robe on Him. And after twisting together a crown of thorns, they put it on His head, and a reed in His right hand; and they knelt down before Him and mocked Him, saying, “Hail, King of the Jews!” They spat on Him, and took the reed and began to beat Him on the head. After they had mocked Him, they took the scarlet robe off Him and put His own garments back on Him, and led Him away to crucify Him. [Matthew 27:26-31 NASB]
Matthew seems to be a master of understatement. He uses the phrase, "after having Jesus scourged..." then he moves on with his narrative.
One bit of misinformation that I often hear repeated is that Jesus received forty stripes. This is not true. While the Jews were limited by the Law to use no more that forty stripes, Jesus wasn't scourged by the Jews, but by the Romans. And the Romans had no such restrictions.
The Roman whip master was trained to scourge a man until he reached a point near death, but without allowing him to die, no matter the number of lashes. The whip was made of many leather straps with metal or bone tied into them. With every lash, they would cut into His back, tearing away the flesh.
It was not enough to execute Him. They felt the need to mock Him. They stripped him naked in order to humiliate Him, and they spat on Him.
They gave Him a robe, a crown of thorns and a reed for a scepter to mock the claim that He was King of the Jews. The robe, laid on his freshly torn back would have been another agony of pain. As it sat on his back, it would have congealed with His blood, so that when they removed it, it would have torn the flesh all over again.
The thorns in His crown were about 2 - 3 inches long, hard and sharp. As they took the reed and hit Him over the head, they would have driven the thorns into His scalp, bloodying His whole head and face.
Then they led Him away to be crucified.
All of this was done by the hands of the Romans. Some might argue that in crucifying Jesus, they were just following orders. But they mocked and tortured Him for pleasure.
Over the years, I have heard ignorant people justify their antisemitism by saying "the Jews killed Jesus." This is not true.
The Jews handed Him over to be killed, but He died at the hands of the Gentiles. There is none more nor less guilty, and there is none more nor less innocent. As the Bible says, "for all have sinned and fall short of the glory of God." [Romans 3:23 NASB]
Isaiah received this vision concerning the Messiah:
He was despised and forsaken of men,A man of sorrows and acquainted with grief;And like one from whom men hide their faceHe was despised, and we did not esteem Him. Surely our griefs He Himself bore,And our sorrows 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 we are healed. All of us like sheep have gone astray,Each of us has turned to his own way;But the LORD has caused the iniquity of us allTo fall on Him. He was oppressed and He was afflicted,Yet He did not open His mouth;Like a lamb that is led to slaughter,And like a sheep that is silent before its shearers,So He did not open His mouth. [Isaiah 53:3-7 NASB]
All of the suffering that Jesus endured, He endured on our behalf. Every bruise, every stripe, every mockery, every humiliation, all of the pain, all of the torture; it was all done for us, that we may be forgiven and healed.
He didn't have to do it, but He did.
I lack the words to express my gratitude for Jesus' suffering. "Thank you" hardly seems sufficient. Therefore I will try to express my gratitude in how I live my life. Not being good out of compulsion, or a sense of guilt. Not by following a law of requirement, but by accepting God's grace. By walking in the Spirit, keeping my mind fixed on Him.
In know that in my flesh, I am incapable of expressing my gratitude to Jesus. But I trust that His Spirit - who lives within me - will bring that gratitude to life in my service to God and to others.