David organized the Levites into divisions based on which of Levi’s sons (Gershon, Kohath, or Merari) they were descended from.