These two phrases are repeated to emphasize the important role teachers play in making someone wise. (See: [[rc://en/ta/man/translate/figs-parallelism]])
Both words refer to a group of people who may have come together 1) to worship God, or 2) to decide on a legal matter. (See: [[rc://en/ta/man/translate/figs-doublet]])