*Minor differences ignored. Grouped by changes, with first version listed as example.
And Berechiah, and Elkanah, were doorkeepers for the ark,.... Either while it was at Kirjathjearim, and at Obededom's house; or rather after it was put in the tabernacle David had prepared for it; though it may be best of all to understand it, that those, as it was carrying, went before it, to keep the people from pressing to it, and gazing on it.
Berechiah and Elkanah were doorkeepers--who marched immediately in front, while Obed-edom and Jeiel went in the rear, of the ark.
Door - keepers - They were appointed to keep the door of the tent in which the ark was to be kept, that no unallowed person might press in and touch it; and in like manner they were to attend upon the ark in the way, and to guard it from the press and touch of prophane hands; for which end these two went before the ark, is their other two brethren mentioned in the close of 1-Chronicles 15:24, came after it.
*More commentary available at chapter level.