wán​huǒ​zì​fén

to play with fire and get burned