It’s okay if you get overwhelmed at work and take a break from writing. Lots of people make it work, but that doesn’t mean you can stay healthy trying to force it. Gather ideas, fill your creative tank with books and music and movies, and be ready for when you can physically and emotionally return to writing. Don’t let the idea of how you are “supposed to write” spoil and become a poison.
It is not a betrayal of your friends to feel sad that you aren’t where you want to be right now. Remember that the success of other’s has absolutely nothing to do with you. It doesn’t mean you are an awful writer, it doesn’t mean that you will never be successful, it doesn’t mean anything at all except that your friend’s hard work met some good timing. Your sadness may be irrational, but it is okay to feel it. But just for a moment. Then, get lost in your happiness for other’s.
Most importantly, give yourself some grace. You are allowed to fail. You are allowed to succeed. Neither of these options reflects on you as a person. Be honest, keep writing, and take care of yourself.