The following is from a letter by John Newton. I trust it will be an encouragement to any who may be facing trials.
"A measure of trials is necessary for the exercise and manifestation of your graces; to give you a more convincing proof of the truth and sweetness of the promises made to a time of affliction; to mortify the body of sin; and to wean you more effectually from the world. Faith upholds a Christian under all trials, by assuring him that every painful dispensation is under the direction of his Lord; that chastisements are a token of His love; that the season, measure, and continuance of his sufferings, are appointed by Infinite Wisdom, and designed to work for his everlasting good; and that grace and strength shall be afforded him, according to his need."
He is God of the bad times just as He is God of the good times!
Romans 5:3-5 - And not only so, but we glory in tribulations also: knowing that tribulation worketh patience; And patience, experience; and experience, hope: And hope maketh not ashamed; because the love of God is shed abroad in our hearts by the Holy Ghost which is given unto us.