David built houses for himself in Jerusalem. Then he built a place for the Ark of the Covenant of God. And he set up a tent for it.