.... Out of the abundance of the heart the mouth speaks... Ouch!
So if we will actually allow ourselves to hear our words then we can understand it is not God who is not responding to our prayerful needs but the word is not hidden in our hearts. We are not hidden in Christ. For if we were, then we would be overflowing with gratitude and thankfulness no matter what the test.
We might not enjoy it, but still we understand that in Him we can do all things - even endure a hardship that seems unbearable. And in that place we begin to thank Him for helping us.