religionDance and religion have been and are very close,

Dance was used to honor the gods

Dance was used to get closer to the gods, or to go into a trance

religions prohibit (some or all) forms of dance because they were indecent or offensive

All these approaches ever happened.

And they all still are.