Learning to dance can help the body become soft, and people's flexibility can be developed through exercise, so learning to dance is better.
If your body is hard, you should train your body's softness and coordination before learning to dance.