Genesis 50:20

As for you, you meant evil against me, but God meant it for good, to bring it about that many people should be kept alive, as they are today.

Romans 8:28

And we know that for those who love God all things work together for good, for those who are called according to his purpose.

Psalm 119:71

It is good for me that I was afflicted, that I might learn your statutes.

Genesis 37:4

But when his brothers saw that their father loved him more than all his brothers, they hated him and could not speak peacefully to him.

Genesis 37:18-20

They saw him from afar, and before he came near to them they conspired against him to kill him.

Genesis 45:5-8

And now do not be distressed or angry with yourselves because you sold me here, for God sent me before you to preserve life.

Psalm 56:5

All day long they injure my cause; all their thoughts are against me for evil.

Psalm 76:10

Surely the wrath of man shall praise you; the remnant of wrath you will put on like a belt.

Isaiah 10:7

But he does not so intend, and his heart does not so think; but it is in his heart to destroy, and to cut off nations not a few;

Acts 2:23

this Jesus, delivered up according to the definite plan and foreknowledge of God, you crucified and killed by the hands of lawless men.

Acts 3:13-15

The God of Abraham, the God of Isaac, and the God of Jacob, the God of our fathers, glorified his servant Jesus, whom you delivered over and denied in the presence of Pilate, when he had decided to release him.

Acts 3:26

God, having raised up his servant, sent him to you first, to bless you by turning every one of you from your wickedness."

Psalm 105:16-17

When he summoned a famine on the land and broke all supply of bread,

Treasury of Scripture Knowledge

Summary

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.

General references

Bible References

Ye thought

Genesis 37:4
But when his brothers saw that their father loved him more than all his brothers, they hated him and could not speak peacefully to him.
Psalm 56:5
All day long they injure my cause; all their thoughts are against me for evil.

God meant

Genesis 45:5
And now do not be distressed or angry with yourselves because you sold me here, for God sent me before you to preserve life.
Psalm 76:10
Surely the wrath of man shall praise you; the remnant of wrath you will put on like a belt.
Psalm 105:16
When he summoned a famine on the land and broke all supply of bread,
Psalm 119:71
It is good for me that I was afflicted, that I might learn your statutes.
Isaiah 10:7
But he does not so intend, and his heart does not so think; but it is in his heart to destroy, and to cut off nations not a few;
Acts 2:23
this Jesus, delivered up according to the definite plan and foreknowledge of God, you crucified and killed by the hands of lawless men.
Acts 3:13
The God of Abraham, the God of Isaac, and the God of Jacob, the God of our fathers, glorified his servant Jesus, whom you delivered over and denied in the presence of Pilate, when he had decided to release him.
Romans 8:28
And we know that for those who love God all things work together for good, for those who are called according to his purpose.

General references

Philemon 1:15
For this perhaps is why he was parted from you for a while, that you might have him back forever,

The Holy Bible, English Standard Version® copyright © 2001 by Crossway Bibles, a publishing ministry of Good News Publishers.