8 But Joseph had recognized his brothers, although they did not recognize him. 9 Joseph remembered the dreams which he had about them, and said to them, “You are spies; you have come to look at the undefended parts of our land.” 10 Then they said to him, “No, my lord, but your servants have come to buy food. 11 “We are all sons of one man; we are honest men, your servants are not spies.” 12 Yet he said to them, “No, but you have come to look at the undefended parts of our land!” 13 But they said, “Your servants are twelve brothers in all, the sons of one man in the land of Canaan; and behold, the youngest is with our father today, and one is no longer alive.” 14 Joseph said to them, “It is as I said to you, you are spies; 15 by this you will be tested: by the life of Pharaoh, you shall not go from this place unless your youngest brother comes here! 16 “Send one of you that he may get your brother, while you remain confined, that your words may be tested, whether there is truth in you. But if not, by the life of Pharaoh, surely you are spies.” 17 So he put them all together in prison for three days.
At this point, it isn’t quite clear what Joseph is trying to accomplish, but it is likely that he wanted to see if their hearts had changed. By putting them in a dire situation, he wanted to see how they would react. God often allows us to be put into the fire to test and purify our hearts. How will you stand up to the testing?