In verses 11 through 23 we see that David removed the ark from the house of Obed-edom and brought it to his city, Zion.
Obed-edom offered hospitality to the ark of God, and for this reason God blessed him and all his household. When David heard that God had blessed the house of Obed-edom and all that he had because of the ark of God, David came back to remove the ark of God to Zion, David's private city, which was the center of the public city of Jerusalem (vv. 11-12).
When those who bore the ark of Jehovah had gone six paces, David sacrificed an ox and a fatling (v. 13). Also, David danced with all his might before Jehovah, having girded himself with a linen ephod (v. 14). David wore a garment which only the priests should wear. For that day, he became a high priest to wear the ephod. On that occasion he was a priest as well as a king. In a sense, he broke the divine ordination. But in another sense, this was an honor and a glory to God.
Verse 15 tells us that David and all the house of Israel brought up the ark of Jehovah with shouting and with the sound of the trumpet.
The ark of God lodged in the tent that David pitched for it. David offered sacrifices before Jehovah, blessing the people in the name of Jehovah of hosts and apportioning to all the people some cakes (vv. 17-19).
Everyone was happy except Michal, David's wife, who was of the house of Saul. When she saw King David leaping and dancing before Jehovah, she despised him in her heart (v. 16). After David blessed the people, he returned to bless his household, and Michal went forth to meet him and mocked him, saying, "How the king of Israel has made himself honorable today, uncovering himself today in the sight of the maids of his servants as some worthless fellow might shamelessly uncover himself!" (v. 20). David replied, "It was before Jehovah, who chose me above your father and above all his house, to appoint me ruler over the people of Jehovah, over Israel; so I played before Jehovah" (v. 21). The chapter concludes by saying that Michal the daughter of Saul had no child until the day of her death (v. 23). Her mocking of David brought upon her the curse of childlessness.