You intended to harm me, but God intended it for good to accomplish what is now being done, the saving of many lives (Genesis 50:20, NIV).
Nothing is wasted in God’s world, even when evil seems awash in every corner of the globe. One very excellent example of the above verse is the story Corrie ten Boom told of one of the last things her sister Betsie told her as Betsie lay dying in a Nazi concentration camp.
After months of the fear and torture of Ravensbruck, when many gave up hope of ever being rescued, after millions of Jews, Christians and other “Nazi dissidents” had been murdered, Betsie was still able to leave these instructions to Corrie who would soon be released because of a “bureaucratic error”: “Tell people what we have learned here…that there is no pit so deep He (Jesus) is not deeper still.”
She added, “They will listen to us because we have been here.” 
I have been hearing and reading Betsie’s now famous quote from a variety of sources these days (perhaps you have, too), and I have even featured it in a few of my own prior blog posts for different reasons. It bears repeating, I think, and often, now and through the challenging days ahead before the return of Jesus Christ which many believe is near.
Here is another verse that to me is like the other “book end” to match the above verse about God’s plan for those who look to Him for the way out of their own dark places:
And we know that in all things God works for the good of those who love him, who have been called according to his purpose (Romans 8:28).
No matter the power of evil, it’s God’s purpose that ultimately prevails.
And when we share what He has done for us, it has the power to saves lives—not just literally, as in the Genesis account, but in the mental, emotional, psychological, and spiritual senses as well.
Who can you minister to today? Who can you comfort (“exhort, encourage”) through the comfort (add “consolation”) with which (you) are comforted… by God”? (2 Corinthians 1:4) 
Your testimony will help.
 from The Hiding Place
 Reference: http://biblehub.com ; Strong’s Concordance, 3870, and 3874