David built houses for himself in the city of David. He prepared a place for the ark of God and set up a tent for it.