play with fire
- explore or handle something dangerous or risky
Wiktionary
verb
- To put oneself in a precarious situation with a high risk of getting harmed, particularly emotionally or financially.
“I'm telling you, if you sign that paper, you're playing with fire.”
“Play with fire and you get burned.”