So they brought their livestock to Joseph, and he gave them food in exchange for their horses, their flocks and herds, and their donkeys. Throughout that year he provided them with food in exchange for all their livestock.
Care being taken of Jacob and his family, the preservation of which was especially designed by Providence in Joseph's advancement, an account is now given of the saving of the kingdom of Egypt too from ruin; for God is King of nations as well as King of saints, and provideth food for all flesh.
Commenting on Genesis 47:13-26
When the year was ended, they came unto him the second year,.... Which seems to be the seventh and last year of the years of famine; not the second year of the famine, as Jarchi, but the second year of their great distress, when having spent all their money they parted with their cattle; for it cannot be thought that they should be drained of...
Gen 47:15-17 When the money was exhausted, the Egyptians all came to Joseph with the petition: “Give us bread, why should we die before thee” (i.e., so that thou shouldst see us die, when in reality thou canst support us)? Joseph then offered to accept their cattle in payment; and they brought him near their herds, in return for which he provided them that year with bread.
Commenting on Genesis 47:15-17