Genesis 50:20
KJV 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.
B:E Project "You planned to harm me, but it was used for good, to bring about what has happened - the saving of many lives."
Context: This is one of the most quoted verses in the whole book - Joseph directly names both the brothers' real intent (harm) and the outcome (saving many lives during the famine) without pretending the first cancels out or excuses the second.
Meaning: This is the emotional and thematic conclusion of the entire Joseph story: it holds two true things at once without letting either one erase the other. What the brothers did was genuinely wrong - Joseph never says otherwise - but the story didn't end there; the worst thing that happened to him became the means by which an enormous number of people survived a famine, himself and his family included. It doesn't excuse the wrong done, but it leaves room for something good and unexpected to grow out of even the worst circumstances.
Lesson: Joseph tells them plainly: they meant evil, but God meant it for good, to save many lives. Trust that God can take even the worst thing done against you and weave it into a story that saves and blesses far more than you could have imagined.
See Also: Genesis 45:5-8; Romans 8:28 - This famous statement, that God meant for good what others meant for evil, is Joseph's fullest articulation of the truth he had already begun to express when first revealing himself to his brothers.
Original Language: חֲשַׁבְתֶּם (chashavtem, H2803) - 'ye thought', and חֲשָׁבָהּ (chashavah, H2803), 'God meant it': in Hebrew it is the same verb both times, 'to plan, devise, reckon'. The KJV varies the English, but the Hebrew sets two plans side by side over one event: you planned it for רָעָה (ra'ah, H7451), 'harm', God planned it for good. לְהַחֲיֹת (lehachayot, H2421), 'to save alive', means 'to keep alive', exactly what the stored grain did in the famine.
