God killed Uzzah for protecting the ark
Again, David gathered together all the chosen men of Israel, thirty thousand.
And David arose, and went with all the people that were with him from
Baale of Judah, to bring up from
thence the ark of God, whose name is called
by the name of the LORD of hosts that dwelleth between the cherubims.
David and 30,000 chosen men went to retrieve the ark of God. 
(God, the Lord of Hosts, dwells between the cherubim.)
And they set the ark of God upon
a new cart, and brought it out of the
house of Abinadab that was in Gibeah: and Uzzah and Ahio, the sons of
Abinadab, drave the new cart.
And they brought it out of the house of Abinadab which was at Gibeah,
accompanying the ark of God: and Ahio went before the ark.
When they arrived at the house of Abinadab in Gibeah, they set the ark on a cart, driven by Uzzah and Ahio.
And David and all the house of Israel played before the LORD on all manner
of instruments made of fir wood, even on harps, and on psalteries, and on
timbrels, and on cornets, and on cymbals.
David, the 30,000 chosen men, and everyone in Israel, played before the Lord with every kind of musical instrument.
And when they came to Nachon's threshingfloor
, Uzzah put forth his hand to
the ark of God, and took hold of it; for the oxen shook it.
And the anger of the LORD was kindled against Uzzah; and God smote him there for his error;
and there he died by the ark of God.
When they came to Nachon's threshing floor, the oxen stumbled, causing the ark to fall.
To keep the ark from being damaged, Uzzah touched the ark.
So God killed him. 
David dances nearly naked in front of God and everybody
And David was displeased, because the LORD had made a breach upon Uzzah:
and he called the name of the place Perezuzzah to this day.
And David was afraid of the LORD that day, and said, How shall the ark of
the LORD come to me?
David was displeased at God's senseless killing of Uzzah.
But he was also afraid of God, and said,
How will I get the ark back home?
So David would not remove the ark of the LORD unto him into the city of
David: but David carried it aside into the house of Obededom the Gittite.
So David decided not to bring the ark to Jerusalem after all.
He'd bring it to the house of Obededom the Gittite instead.
And the ark of the LORD continued in the house of Obededom the Gittite
three months: and the LORD blessed Obededom, and all his household.
And it was told king David, saying, The LORD hath blessed the house of
Obededom, and all that pertaineth unto him, because of the ark of God. So
David went and brought up the ark of God from the house of Obededom into the
city of David with gladness.
The ark stayed with Obededom for three months, until he was told,
God blessed Obededom while the ark was with him.
So David brought the ark to Jerusalem.
And it was so, that when they that bare the ark of the LORD had gone six
paces, he sacrificed oxen and fatlings.
During the journey, David sacrificed an ox and a fat calf every six steps. 
And David danced before the LORD with all his might; and David was girded with a linen
So David and all the house of Israel brought up the ark of the LORD with
shouting, and with the sound of the trumpet.
David danced nearly naked in front of God and everybody. 
Michal is disgusted by David's performance
And as the ark of the LORD came into the city of David, Michal Saul's
daughter looked through a window, and saw king David leaping and dancing
before the LORD; and she despised him in her heart.
And they brought in the ark of the LORD, and set it in his place, in the
midst of the tabernacle that David had pitched for it: and David offered
burnt offerings and peace offerings before the LORD.
And as soon as David had made an end of offering burnt offerings and peace
offerings, he blessed the people in the name of the LORD of hosts.
And he dealt among all the people, even among the whole multitude of
Israel, as well to the women as men, to every one a cake of bread, and a
good piece of flesh, and a flagon of wine. So all the people departed every
one to his house.
When David's first wife, Michal, saw David's performance, she despised him in her heart.
Then David returned to bless his household. And Michal the daughter of Saul
came out to meet David, and said, How
glorious was the king of Israel to day, who uncovered himself to day in the
eyes of the handmaids of his servants, as one of the vain fellows
shamelessly uncovereth himself!
Michal said to David,
How glorius was the king of Israel today, who
uncovered himself to all the slave girls in the kingdom, like some shameless guy who exposes himself.
And David said unto Michal, It was before the LORD, which chose me before
thy father, and before all his house, to appoint me ruler over the people of
the LORD, over Israel: therefore
will I play before the LORD.
And I will yet be
more vile than thus, and will be base in mine own sight: and of the
maidservants which thou hast spoken of, of them shall I be had in honour.
God chose me as king over your father and your family. I will play before him if I want to.
So I will be even more vile than that. I will be disgusting in my own sight, but honored by all the slave
girls in the kingdom.
Therefore Michal the
daughter of Saul had no child unto the day of her death.
God punished Michal for criticizing David by making sure she had "no child unto the day of her death."