David had several buildings built in Jerusalem, and he had a tent set up where the sacred chest would be kept.