I believe our spiritual education is broken, and in order to fix it, we have to be upfront with each other. We have to admit that we can be happy with Allah and still find ourselves devastated by the tests He puts before us, because faith is not a protection from struggle.
Bad things do happen to good people, even when they pray. You can try your hardest and still fall short. You can pray your whole life for something that will never come to you. And strength of faith in that circumstance doesn’t mean living in a state of unfulfilled hope, it means accepting the wisdom in the test that Allah has decreed for you.