John 6:6

This He was saying to test him, for He Himself knew what He was intending to do.

Genesis 22:1

Now it came about after these things, that God tested Abraham, and said to him, “Abraham!” And he said, “Here I am.”

Deuteronomy 8:2

You shall remember all the way which the Lord your God has led you in the wilderness these forty years, that He might humble you, testing you, to know what was in your heart, whether you would keep His commandments or not.

Deuteronomy 8:16

In the wilderness He fed you manna which your fathers did not know, that He might humble you and that He might test you, to do good for you in the end.

Deuteronomy 13:3

you shall not listen to the words of that prophet or that dreamer of dreams; for the Lord your God is testing you to find out if you love the Lord your God with all your heart and with all your soul.

Deuteronomy 33:8

Of Levi he said,
“Let Your Thummim and Your Urim belong to Your godly man,
Whom You proved at Massah,
With whom You contended at the waters of Meribah;

2 Chronicles 32:31

Even in the matter of the envoys of the rulers of Babylon, who sent to him to inquire of the wonder that had happened in the land, God left him alone only to test him, that He might know all that was in his heart.

Treasury of Scripture Knowledge

Summary

And this he said to prove him: for he himself knew what he would do.

General references

Bible References

Prove

Genesis 22:1
Now it came about after these things, that God tested Abraham, and said to him, “Abraham!” And he said, “Here I am.”
Deuteronomy 8:2
You shall remember all the way which the Lord your God has led you in the wilderness these forty years, that He might humble you, testing you, to know what was in your heart, whether you would keep His commandments or not.
Deuteronomy 13:3
you shall not listen to the words of that prophet or that dreamer of dreams; for the Lord your God is testing you to find out if you love the Lord your God with all your heart and with all your soul.
Deuteronomy 33:8
Of Levi he said,
“Let Your Thummim and Your Urim belong to Your godly man,
Whom You proved at Massah,
With whom You contended at the waters of Meribah;
2 Chronicles 32:31
Even in the matter of the envoys of the rulers of Babylon, who sent to him to inquire of the wonder that had happened in the land, God left him alone only to test him, that He might know all that was in his heart.

General references

Matthew 14:17
They *said to Him, “We have here only five loaves and two fish.”