When Joseph's brothers came down to Egypt to buy grain during the famine, Joseph had a choice. Though they didn't recognize him, he did recognize them. He could have shown mercy to them and forgiven them. However, God dealt with Joseph for several years already, teaching him to do justly, love mercy and walk humbly before God. He then began to place pressure on his brothers in order to push them to repentance, then test them to see if their repentance was genuine. There is much to be learned from this life lesson of Joseph.