But as for you, you meant evil against me; but God meant it for good, in order to bring it about as it is this day, to save many people alive.
Genesis 50:20
Surrounding context
50:19 Joseph said to them, "Do not be afraid, for am I in the place of God?
50:20 But as for you, you meant evil against me; but God meant it for good, in order to bring it about as it is this day, to save many people alive.
50:21 Now therefore, do not be afraid; I will provide for you and your little ones." And he comforted them and spoke kindly to them.