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)
We each experience times and circumstances in our lives where others intend negative toward us. This is life, it happens, the reasons are many.
But God has his own plans for us and, if we are in our right state, will work those situations toward His ends.
Now, I know many who do not see life working out for them in this way. But who are we to question? We who are mere morning mist in the grand scheme of time.