1 Chronicles 26

David organizes the Levitical gatekeepers into divisions to guard the temple's gates and entrances, with assignments determined by casting lots rather than family prestige.[1][2] The chapter also describes treasurers who manage the temple's dedicated resources from military spoils and other offerings, and officials who handle both religious and civil matters.[1][2]

Interlinear Text

and his brothers sons of valor two thousand and seven hundred heads of the fathers and appointed them David the king over the Reubenites and the Gadites and half tribe of the Manasseh for all matter of God and matter of the king