Apparently this quote is quite popular but I just came across it. It’s been all over the internet since at least 2008, used on a recent television drama, and might even make it into a sermon someday. For Christians, who believe in a God who superintends, this can be a powerful reminder that reality may be difficult, but its purposes are in the hands of one who can be fully trusted.
As for you, you meant evil against me, but God meant it for good, to bring it about that many people should be kept alive, as they are today. Genesis 50:20 ESV
And we know that for those who love God all things work together for good, for those who are called according to his purpose. Romans 8:28