David built houses for himself in the city of David, and he prepared a place for the ark of God and pitched a tent for it.