31 They cast lots, just as their relatives, the sons of Aaron, had done. They did it in front of King David, Zadok and Ahimelech. They did it in front of the family leaders of the priests. They also did it in front of the family leaders of the Levites. The families of the oldest brother were treated in the same way as the families of the youngest.