From the article (obviously missing a lot of context) it seems your husband wasn’t so much upset with you having feelings and writing about them, but that you didn’t tell him about these feelings before writing about them? So it’s more about lack of communication and “omg if she feels this way and hasn’t told me, what else is she thinking and not telling me, can I trust anything now”. Rather than “you’re not allowed to feel negative ever”. Especially if, idk, you wrote about them on Medium before you actually shared them with him.