26 Shelomoth and his relatives were in charge of the treasuries containing the gifts that King David, the family leaders, and the generals and captains and other officers of the army had dedicated to the LORD .