Genesis 42:7-9

42:7 When Joseph saw his brothers, he recognized them, but he pretended to be a stranger to them and spoke to them harshly. He asked, “Where do you come from?” They answered, “From the land of Canaan, to buy grain for food.”

42:8 Joseph recognized his brothers, but they did not recognize him. 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!”