Does Pain Cause Creativity?

If we look at the history of art and artists we see that many artists did their most creative work during the most painful phase of their lives. Pain makes everything human. It makes one empathize with others. And empathy is the greatest gift for creativity