Answer:
The idiom "to play with fire" means to act in a way that is very dangerous and to take risks. This links with the story of Prometheus because he disobeyed the gods and he stole fire to give to the humans. Even though he had done a good deed, he acted unwisely and by doing so he was punished.
For any further study: