I think this is so, so important, and it's something I've struggled with throughout my journey as a writer. When I first started out at age 10, I would read articles about teenagers who got published and immediately come up with all the reasons I deserved it as much as they did. When somebody signed a major three-book deal, I got insanely jealous. Why couldn't I get a three-book deal? What made those authors so special?
The more I explore the writing community in Utah, the more I come to realize how important it is to be happy for your fellow authors. We're all on the same side here; we all want (generally) the same things. I think it's natural to get a little jealous when someone lands a major deal, or signs with your dream agent, but in the end we have to support each other...after all, having writing friends is a major bonus during those long hours spent revising and tearing your hair out over first drafts. Writers are, by nature, solitary people, and it's essential for health and sanity to meet others who share your aspirations. For the past few years I've changed the way I think about other authors: instead of the competition, they are my teammates. When one person scores, the rest cheer him/her on. During someone else's moment of glory we push back our jealousy and just be glad that they have achieved their goals. Since I've established this mindset I've made so many great writer friends, and I will be absolutely thrilled if/when they sign with agents or land major deals with publishing houses.
Just this week I got some great news on the writing front. I'm not going to post it here until things are official, but I am so grateful for all my writing friends who were excited and happy for me. Jealousy isn't worth it - when we focus on comparing ourselves to others, there is no room for personal growth, and we end up alienating ourselves from potential friends and peers. We have to stick together here, and learn to be happy for other writers no matter how lame we feel in comparison :).