People are able to trust God, even when He isn’t giving them what they want, because they have already decided what they believe about Him. In these desperate moments, they are not just now deciding what they believe about God. They have spent their lives getting to know God, through reading the Scriptures, through prayer, through God providing, through personal experience—they have a real relationship with God. They know Him to be good. Then in extreme difficulties, they don’t go by the way they feel or what they are seeing, but what they know. They know God.
When you have already decided that you can trust God, you are able to give Him the benefit of the doubt when you have doubts.
What I know is that God is love, that God is for me and that God was willing to do the hardest thing possible (have His Son die) for me. I know that God is powerful, He is on my side, and He is working in my situation even when I can’t see it. This all tells me there is nothing He would not do for me.
When God doesn’t give you what you want, you remember who He is. You may not know the why, but you know that He knows, and you know Him.
“So when Jesus came, He found that he had already been in the tomb four days. Now Bethany was near Jerusalem, about two miles away. And many of the Jews had joined the women around Martha and Mary, to comfort them concerning their brother. Now Martha, as soon as she heard that Jesus was coming, went and met Him, but Mary was sitting in the house. Now Martha said to Jesus, “Lord, if You had been here, my brother would not have died. But even now I know that whatever You ask of God, God will give You.” Jesus said to her, “Your brother will rise again.” Martha said to Him, “I know that he will rise again in the resurrection at the last day.” Jesus said to her, “I am the resurrection and the life. He who believes in Me, though he may die, he shall live. And whoever lives and believes in Me shall never die. Do you believe this?””
John 11:17-26 NKJV