God allows both good times and bad times to come to everyone. He blends them in our lives in such a way that we can't predict the future or count on human wisdom and power. We usually give ourselves the credit for the good times. Then in bad times we tend to blame God without thanking him for the good that comes out of it. When life appears certain and controllable, don't let self-satisfaction or complacency make you too comfortable, or God may allow bad times to drive you back to him. When life seems uncertain and uncontrollable, don't despair - God is in control and will bring good results out of tough times.
Ecclesiastes 7:14 (New Living Translation) 14 Enjoy prosperity while you can, but when hard times strike, realize that both come from God. Remember that nothing is certain in this life.
In all circumstances; praise HIM