23 Berekiah and Elkanah were to be doorkeepers for the ark.

Read 1 Chronicles 15:23 Using Other Translations

And Berechiah and Elkanah were doorkeepers for the ark.
Berechiah and Elkanah were to be gatekeepers for the ark.
Berekiah and Elkanah were chosen to guard the Ark.