Genesis 50: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.
BSB · Berean Standard Bible
But as for you, ye thought evil against me; but God meant it unto good, to bring to pass, as it is this day, to save much people alive.
KJV · King James Version
As for you, you meant evil against me, but God meant it for good, to save many people alive, as is happening today.
WEB · World English Bible
And as for you, ye meant evil against me; but God meant it for good, to bring to pass, as it is this day, to save much people alive.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

ye thought
Genesis 37:4, 18–20; Psalm 56:5
God meant
Genesis 45:5–8; Psalm 76:10; Psalm 105:16, 17; Psalm 119:71; Isaiah 10:7; Acts 2:23; Acts 3:13–15, 26; Romans 8:28