Jesus endured the greatest shame and desperation, that we would receive His righteousness, honor, and hope:
"For he hath made him to be sin for us, who knew no sin; that we might be made the righteousness of God in him." (2 Corinthians 5: 21)
"Looking unto Jesus the author and finisher of our faith; who for the joy that was set before him endured the cross, despising the shame, and is set down at the right hand of the throne of God." (Hebrews 12: 2)
Jesus became sin, rejected by God as our sin offering, yet beloved at the same time of the Father:
"9And he made his grave with the wicked, and with the rich in his death; because he had done no violence, neither was any deceit in his mouth.
10Yet it pleased the LORD to bruise him; he hath put him to grief: when thou shalt make his soul an offering for sin, he shall see his seed, he shall prolong his days, and the pleasure of the LORD shall prosper in his hand." (Isaiah 53: 9-10)
Why was God the Father pleased to crush His Son?
"16For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. 17For God sent not his Son into the world to condemn the world; but that the world through him might be saved." (John 3: 16-17)
God wants to save us, not condemn us, so He condemned our sin in His Son:
"1There is therefore now no condemnation to them which are in Christ Jesus, who walk not after the flesh, but after the Spirit. 2For the law of the Spirit of life in Christ Jesus hath made me free from the law of sin and death. 3For what the law could not do, in that it was weak through the flesh, God sending his own Son in the likeness of sinful flesh, and for sin, condemned sin in the flesh: 4That the righteousness of the law might be fulfilled in us, who walk not after the flesh, but after the Spirit." (Romans 8: 1-4)
Now, consider also that last part of Hebrews 11: 26: "He had respect unto the recompence of the reward."
In Christ, we receive eternal life, and we receive all things through Jesus:
"For the promise, that he should be the heir of the world, was not to Abraham, or to his seed, through the law, but through the righteousness of faith." (Romans 4: 13)
"31What shall we then say to these things? If God be for us, who can be against us? 32He that spared not his own Son, but delivered him up for us all, how shall he not with him also freely give us all things? " (Romans 8: 31-32)