Genesis 50:20

BSB(i) 20 As for you, what you intended against me for evil, God intended for good, in order to accomplish a day like this—to preserve the lives of many people.