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