He placed garrisons throughout Edom, and all the Edomites became David’s subjects. The Lord protected David wherever he campaigned.
So David was no longer willing to bring the ark of the Lord to be with him in the City of David. David left it in the house of Obed-Edom the Gittite.