Wow. Have you ever come to the point where you think, "if anyone had told me a year/a month/a week ago where I would be now, I wouldn't have believed"? Yup, I'm right there with you. Life is so unpredictable sometimes. Or, as you look back you might see that it was all only a matter of time, but you still couldn't see it coming.
What's comforting is that God knew it all the way from the beginning. As He created you, He saw everything you would do and go through. Still He chose to create you and give you a breath of life. He saw that it was good. Like C.S. Lewis has worded it, God "has specially armed you to go through [tribulations], not without pain but without stain".
Your eyes saw my substance, being yet unformed. And in Your book they all were written, The days fashioned for me, When [as yet there were] none of them. (Psalm 139:16)
Another thing that is crucial to remember, is that God Himself has allowed everything to happen that has happened. Not that He would've enjoyed it, but He sees so much further than we do. He knows He can use your present situation, no matter difficult it might be right now, to bring Himself and His kingdom glory in the future. He knows He can use anything to transform you more into the image of Jesus, if you only let Him. He never forces Himself on you.
What the enemy has meant for evil, God can use for good.
And we know that all things work together for good to those who love God, to those who are the called according to [His] purpose. (Romans 8:28)