Metaphor: Engaging in risky, dangerous, or morally compromising behavior—often with the allure of thrill, gain, or forbidden knowledge—while knowing the potential consequences.
"Maria ignored warnings and invested her savings in a sketchy crypto scheme, seduced by promised 1000% returns. She lost everything—she'd been dancing with the devil."
Derives from folklore (Faust, Robert Johnson at the crossroads) and Christian imagery (Satan as tempter). The "dance" implies voluntary participation, rhythm, and a false sense of control—until the music stops.