There is a pattern of affliction, crying out to God, suffering, and salvation in the Bible. Not the following texts that show this with the Israelites, then Jesus, then the believer:
Then the LORD said, “I have surely seen the affliction of my people who are in Egypt and have heard their cry because of their taskmasters. I know their sufferings, and I have come down to deliver them out of the hand of the Egyptians and to bring them up out of that land to a good and broad land, a land flowing with milk and honey...
(Exodus 3:7-8)
God has seen their affliction, heard their cry, knows their sufferings and will save them. Now notice this pattern with Jesus:
Surely he has borne our griefs
and carried our sorrows;
yet we esteemed him stricken,
smitten by God, and afflicted.
(Isaiah 53:4)
But I am a worm and not a man,
scorned by mankind and despised by the people.
(Psalm 22:6)
He was no stranger to affliction. I think we often gloss over the emotional hardship he endured throughout his life (loneliness, rejection), though obviously crucifixion was the pinnacle of all suffering and affliction for any man and Jesus bore it.
And Jesus uttered a loud cry and breathed his last.
(Mark 15:37)
And about the ninth hour Jesus cried out with a loud voice, saying, “Eli, Eli, lema sabachthani?” that is, “My God, my God, why have you forsaken me?”
(Matthew 27:46 ESV)
The break in the pattern is that God the Father did allow Jesus to die though he cried out to him. He did not save him then. To save us and conquer death he had to kill Jesus and then raise him from the dead.
After the suffering, the Father gave his Son life and sovereignty over all things.
For you will not abandon my soul to Sheol,
or let your holy one see corruption.
You make known to me the path of life;
in your presence there is fullness of joy;
at your right hand are pleasures forevermore.
(Psalm 16:10-11)
The believer, like the Israelites in Egypt and like Jesus, will go through suffering and like them, God promises great bounty and grace at the conclusion of it.
The LORD your God is in your midst,
a mighty one who will save;
he will rejoice over you with gladness;
he will quiet you by his love;
he will exult over you with loud singing.
I will gather those of you who mourn for the festival,
so that you will no longer suffer reproach.
Behold, at that time I will deal
with all your oppressors.
And I will save the lame
and gather the outcast,
and I will change their shame into praise
and renown in all the earth.
(Zephaniah 3:17-19 ESV)
The Spirit himself bears witness with our spirit that we are children of God, and if children, then heirs—heirs of God and fellow heirs with Christ, provided we suffer with him in order that we may also be glorified with him.
For I consider that the sufferings of this present time are not worth comparing with the glory that is to be revealed to us.
(Romans 8:16-18)
Do not fear what you are about to suffer. Behold, the devil is about to throw some of you into prison, that you may be tested, and for ten days you will have tribulation. Be faithful unto death, and I will give you the crown of life.
(Revelation 2:10)
These passages speak for themselves. May you be encouraged by them.