This comes from religious perspective, and one probably not widely shared (idk), so I expect this to be taken with a grain of salt: (hopefully, it is still comforting)
God's purpose is not to make us comfortable or to make life easy. It is to make us better, and happier. As part of that setup and goal, there are a couple of ways we can experience hard times. It can be from our own actions, and even the actions of others. Other times, it can be because we are doing things right, and are ready to grow and push our limits.
My point is this: experiencing a hard time doesn't mean you are doing anything wrong - it can come just as easily to someone doing everything right as to someone doing everything wrong. And in both cases, it can feel much the same
Bonus Analogy:
When searching for the absolute maxima in a 3d plane, you can be at low point for one of two reasons - either you're not doing it right and aren't actually heading uphill, or you reached a local maxima, and need to go lower in order to reach higher heights.
Corollary: We don't get to judge others for their hard times :)
God's purpose is not to make us comfortable or to make life easy. It is to make us better, and happier. As part of that setup and goal, there are a couple of ways we can experience hard times. It can be from our own actions, and even the actions of others. Other times, it can be because we are doing things right, and are ready to grow and push our limits.
My point is this: experiencing a hard time doesn't mean you are doing anything wrong - it can come just as easily to someone doing everything right as to someone doing everything wrong. And in both cases, it can feel much the same
Bonus Analogy:
When searching for the absolute maxima in a 3d plane, you can be at low point for one of two reasons - either you're not doing it right and aren't actually heading uphill, or you reached a local maxima, and need to go lower in order to reach higher heights.
Corollary: We don't get to judge others for their hard times :)