The problems we encounter in this life are not always resolvable in the way we would like. To endure them we need a long-term hope for the Future. This is the hope set out for us in the Gospel preached by Jesus Christ and his apostles.
This life is brief and full of troubles, but the life to come at the return of Jesus Christ is eternal and full of joy.
The life of Jesus is our example. Jesus endured crucifixion for the hope that was set before him in the promises of God.
In our troubles we are encouraged to look to his example.
Hebrews 12:2 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. 3 For consider him that endured such contradiction of sinners against himself, lest ye be wearied and faint in your minds.
Affliction in this life is really a test of our faith in God.
Romans 8:18 For I reckon that the sufferings of this present time are not worthy to be compared with the glory which shall be revealed in us.
James reminds us of the afflictions suffered by Job through no fault of his own.
James 5:11 Behold, we count them happy which endure. Ye have heard of the patience of Job, and have seen the end of the Lord; that the Lord is very pitiful, and of tender mercy.
If we believe and obey the gospel all our troubles will work for our long-term good.
Romans 8:28 And we know that all things work together for good to them that love God, to them who are the called according to his purpose.
Romans 8:32 He 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?
If we are baptised into Christ and try to live by his commandments, we abide in his love.
Romans 8:35 Who shall separate us from the love of Christ? shall tribulation, or distress, or persecution, or famine, or nakedness, or peril, or sword? 36 As it is written, For thy sake we are killed all the day long; we are accounted as sheep for the slaughter. 37 Nay, in all these things we are more than conquerors through him that loved us. 38 For I am persuaded, that neither death, nor life, nor angels, nor principalities, nor powers, nor things present, nor things to come, 39 Nor height, nor depth, nor any other creature, shall be able to separate us from the love of God, which is in Christ Jesus our Lord.
I hope you find this helpful.