So they brought their livestock to Joseph, and he gave them food in exchange for the horses, the flocks of sheep, the herds of cattle, and the donkeys. That year he provided them with food in exchange for all their livestock.