Genesis 50:20

LITV(i) 20 And you, you intended evil against me, but God meant it for good, in order to make it as it is this day, to keep a great many people alive.