This compares the grain to the sand of sea to emphasize its great quantity. AT: "The grain that Joseph stored was as plentiful as the sand on the seashore" (See: [[rc://en/ta/man/translate/figs-metaphor]])
# Joseph stored up ... he stopped
Here "Joseph" and "he" stand for Joseph's servants. AT: "Joseph had his servants store up ... they stopped" (See: [[rc://en/ta/man/translate/figs-synecdoche]])