For some reason, this conclusion reminds me of Tevia’s line from the movie version of Fiddler on the Roof: “Oh God, I know the Jews are your chosen people, but did you have to choose us so much?”
Tevia does not ask God to take away his suffering, to end the pain or to smite those who might be responsible for it. Instead, he recognizes its reality (did you hve to choose us so much) against his blessings (the Jews are your chosen people) and yet affirms his faith in the source of his belief (God).
Many people encounter difficulty and tregedy and turn from their God, blaming Him for it.
I have found that the most difficult, painful or grief-filled episodes of my life were temporary. Their aftermath was much more permanent. The “misery” was a teaching tool that led to a better life or understanding of life.