So they brought in the ark of the Lord and set it in its place inside the tent which David had pitched for it; and David offered burnt offerings and peace offerings before the Lord.