The scripture in 1 Peter 5:10 talks about how after you have suffered a little while, that you will be strengthened and settled. What this means is that our pain is only temporary.
And quite possibly just a test of our faith. Now even if you do not believe the scripture imagine how easy your day to day issues would become if you remained optimistic.
If you thought that every problem was just a test to see how you would handle it. You would be unstoppable.