The arrival of the Ark of the Covenant at its designated resting place marks a significant turning point in the spiritual life of the nation. The Ark was firmly set into position inside a tent that David had specially prepared and pitched for this exact purpose [מצודת ציון, ביאור שטיינזלץ]. To complete the dedication ceremony, the people present offered burnt offerings and peace offerings before God [ביאור שטיינזלץ].
The historical record of this momentous event appears in the Book of Samuel as well, but the account here reveals an additional layer regarding the exact sequence of what happened that day. Reading the earlier record, one might assume that immediately after the Ark was brought up, the crowds simply dispersed to their homes, and David returned to bless his own household.
However, Ezra the Scribe discovered further details within the historical archives of the kings of the House of David. These records show that before anyone left, David first organized the specific shifts of service around the Ark and the Tabernacle. These details are included to clarify that the people and David only returned to their homes after a highly structured system of spiritual service was completely established [מלבי״ם].