It's much easier to write when you're sad. But you can end up isolated and depressed because you almost need to put yourself in that situation to have that angst to write from.
Every script I've written and every series I've produced have expressed the things I most deeply believe.