17 So they brought their herds to Joseph, and Joseph gave food to them in exchange for horses, their flocks, and their cattle and donkeys. And he provided them with food in exchange for all their livestock that year.