Genesis 50:20 · Berean Standard Bible
“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.”
Also in WEBBE · Compare
“As for you, you meant evil against me, but God meant it for good, to save many people alive, as is happening today.”