If a girl doesn't want to dance with you or your friends, it's completely understandable and reflects nothing negative about you. People have different social preferences, comfort levels, and reasons for declining—fatigue, shyness, not liking the music, or simply not wanting to dance at that moment.
Respect her choice without taking it personally. Disappointment is natural, but rejection is a normal part of social interaction. There are always other opportunities to connect; the chances of finding a willing partner are high. Focus on enjoying the event regardless.