What does John 19:17-18 mean?

17 And he bearing his cross went forth into a place called the place of a skull, which is called in the Hebrew Golgotha: 18 Where they crucified him, and two other with him, on either side one, and Jesus in the midst. (John 19:17-18 KJV)

William Burkitt’ Commentary

Observe here, 1. That it was a custom among the Romans to cause the person condemned to crucifying, to carry his own cross; accordingly our Saviour bare his own cross part of the way, till fainting under the burden of it they laid it upon another, not out of mercy, but malice, reserving him for a more public death; they were loath he should go away in a fainting fit. But why could not Christ bear his own cross, who was able to bear the sins of the whole world, when hanging upon the cross?

Answer, 1. Probably the Jews’ malice provided him a cross of an extraordinary greatness, proportionable to the crimes they charged him with.

2. He was much debilitated and weakened with his long watching and sweating the night before.

3. The sharp edges of the cross grating his late whipped and galled shoulders, might occasion the fresh bleeding of his wounds, and his weakening thereby.

4. Hereby he gave the world a demonstration of the truth of his humanity, that he was in all things like unto us, with respect to his human nature and the common infirmities of that nature.

Herein, like Isaac, Christ cheerfully carried the wood on which he was to be offered up a sacrifice to divine justice.

Observe, 2. The infamous company which our holy Lord suffered with, two thieves; on either side one, and himself in the midst: it had been a sufficient disparagement to our blessed Redeemer, to be sorted with the best of men; but to be numbered with the scum of mankind, is such an indignity as confounds our thoughts. This was designed by the Jews to dishonour and disgrace our Saviour the more, and to persuade the world that he was the greatest of offenders. But God overruled this, for fulfilling an ancient prophecy concerning the Messias, And he was numbered with the transgressors. Isaiah 53:12