But even the dancing of the body is held praiseworthy when it is in honour of God. Indeed David danced before the ark of the Lord, and Michal the daughter of Saul saw him dancing and striking on tuned instruments in the sight of the Lord, and she said to him after he had returned home: How indeed has the king of Israel been honoured, since he was uncovered today in the eyes of his girls, his maidservants, like one of the dancers? And David said to Michal in the sight of the Lord: Blessed be the Lord who chose me above your father and above all his house to appoint me prince over his people Isr...ael; and I will play in the sight of the Lord, and I will be uncovered still more thus, and I will be a trifler in your sight, and with the girls with whom you said I was uncovered I will be glorified. And Michal, it says, the daughter of Saul, had no son until the day of her death. A clear example, therefore, that the prophet, who both struck on instruments and danced before the ark of the Lord, was justified, and she who rebuked him was condemned with barrenness.
Source: Exposition of Psalm 118