Genesis 50:20

As for you, you planned evil against me, [but] God planned it for good, in order to do this--to keep many people alive--as [it is] today.

Romans 8:28

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

Psalm 119:71

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

Genesis 37:4

When his brothers saw that their father loved him more than all his brothers, they hated him and were not able to speak peaceably to him.

Genesis 37:18-20

And they saw him from a distance. And before he drew near to them, they conspired against him to kill him.

Genesis 45:5-8

So now, do not be distressed and do not be angry {with yourselves} that you sold me here, for God sent me as deliverance before you.

Psalm 56:5

All day they twist my words; all their thoughts [are] against me for evil.

Psalm 76:10

For the anger of humankind will praise you. You will put on [the] remnant of anger.

Isaiah 10:7

But he does not think this, and his heart does not plan this. For [it is] in his heart to destroy and to cut off not a few nations.

Acts 2:23

this man, delivered up by the determined plan and foreknowledge of God, you executed [by] nailing to [a cross] through the hand of lawless men.

Acts 3:13-15

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

Acts 3:26

God, [after he] had raised up his servant, sent him to you first, to bless you by turning each [of you] back from your wickedness!"

Psalm 105:16-17

Then he called for a famine upon the land; he broke every {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
When his brothers saw that their father loved him more than all his brothers, they hated him and were not able to speak peaceably to him.
Psalm 56:5
All day they twist my words; all their thoughts [are] against me for evil.

God meant

Genesis 45:5
So now, do not be distressed and do not be angry {with yourselves} that you sold me here, for God sent me as deliverance before you.
Psalm 76:10
For the anger of humankind will praise you. You will put on [the] remnant of anger.
Psalm 105:16
Then he called for a famine upon the land; he broke every {supply} of bread.
Psalm 119:71
[It is] good for me that I was afflicted, so that I might learn your statutes.
Isaiah 10:7
But he does not think this, and his heart does not plan this. For [it is] in his heart to destroy and to cut off not a few nations.
Acts 2:23
this man, delivered up by the determined plan and foreknowledge of God, you executed [by] nailing to [a cross] through the hand of lawless men.
Acts 3:13
The God of Abraham and of Isaac and of Jacob, the God of our fathers, has glorified his servant Jesus, whom you handed over and denied in the presence of Pilate, [after] he had decided to release [him].
Romans 8:28
And we know that all [things] work together for good for those who love God, for those who are called according to [his] purpose,

General references

Philemon 1:15
For perhaps because of this, he was separated [from you] for a time, in order that you might have him back forever,