Dancing to God is great, and encouraged in multiple verses in the Bible. David often praised the Lord by dancing. However, it needs to be dancing in response to rejoicing in God. If you put anyone else before God, dancing is seen as not good (Example: Exodus 32:19 where people are worshipping Baal by dancing.)