According to the law of Moses, the tribe of Levi had the work of caring for the temple, its possessions, and the offerings.