Genesis 42:9-12

42:9 Then Joseph remembered the dreams he had dreamed about them, and he said to them, “You are spies; you have come to see if our land is vulnerable!”

42:10 But they exclaimed, “No, my lord! Your servants have come to buy grain for food! 42:11 We are all the sons of one man; we are honest men! Your servants are not spies.”

42:12 “No,” he insisted, “but you have come to see if our land is vulnerable.”

Genesis 42:14-17

42:14 But Joseph told them, “It is just as I said to you: You are spies! 42:15 You will be tested in this way: As surely as Pharaoh lives, you will not depart from this place unless your youngest brother comes here. 42:16 One of you must go and get your brother, while the rest of you remain in prison. In this way your words may be tested to see if you are telling the truth. If not, then, as surely as Pharaoh lives, you are spies!” 42:17 He imprisoned them all for three days.

Genesis 42:19-20

42:19 If you are honest men, leave one of your brothers confined here in prison while the rest of you go and take grain back for your hungry families. 42:20 But you must bring your youngest brother to me. Then your words will be verified and you will not die.” They did as he said.