Genesis 50:20

20You intended to harm me, but God intended it for good to accomplish what is now being done, the saving of many lives.
Copyright information for NIV