John 11:4 When Jesus heard that, he said, This sickness is not unto death, but for the glory of God, that the Son of God might be glorified thereby.
This is a very wild thought. Sometimes we get sick to bring glory to God. This time Lazarus will actually die and be dead for days but Jesus will raise him from the dead. That is how He will get glory from this situation.
In our lives God uses sickness for lots of things. Often to get our attention, to teach us a lesson, to give us access to others to share the gospel He will allow us to be sick.
If you read biographies you will find that many have been sick and in bed for days and while sick God began to convict them of their need to serve Him. They got well and became great servants of God. They were greatly used of God but it all started while they were sick.
So if you are going through a bad time in your life, you are really sick. You should consider what God might be doing. Is it possible that He is working in your life to get you to the end of yourself so that He can get glory. What is He doing? You may never know but this much you know. Give Him glory for what He is doing in your life!