playing with fire

Playing with fire is the term used when someone is involved in an activity that could potentially be dangerous and usually involves doing this activity over and over again on a continuous basis. The person who plays with fire usually knows the potential risks and that it might be dangerous and get them into trouble, but they do it anyway whether out of fun or because there is some sort of benefit to it.