Romans 5:3-4, NIV
You can glorify God even in the midst of suffering. If you will just remain faithful to Him, the difficulties that you experience will produce perseverance, and that perseverance will develop your character, and that character will lead you to greater hope. So if God allowed you to go through some struggles, then don’t take it as something that is against Him. He is just giving you the opportunity to grow and prosper. You may not appreciate what He allowed you to experience for now, but when the perfect time comes, you will see the changes in your life. When the broken pieces are mended, God will show you the masterpiece that He created behind the pain that you experienced.
I pray that you will choose to stay faithful to God, especially in seasons of suffering.