Genesis 50:20

50:20 As for you, you meant evil against me, but God meant it for good, to save many people alive, as is happening today.