Regardless of how things look on the surface, believers have a reason to thank God anyway.
Habakuk 3:19 The Lord God is my strength, and he will make my feet like hinds' feet, and he will make me to walk upon mine high places. . . . .
Strength of the believer doesn't lie within us. The Lord is our strength. When we are unable to stand, He enables us. When we can't go on, He helps us. When we are in the deep valley, He leads us to higher ground.
Hinds' feet speaks of grace, agility and swiftness. High places speak of the mountain tops where the deer is free from dangers below. God lifts us to the mountain, above the battle.
We must learn to lean on Jesus during peril and thank Him anyway.