There are a lot of writers (mostly young naifs and beginners) who have fallen in love with the romantic ideal of the tortured artist, and have the completely unrealistic expectation that if they suffer for their art they will inevitably be rewarded with prestige. It's a common, and toxic, mentality. Failing to distinguish the teeth-grinding dubious pleasure of working at the edge of your ability (something familiar not just to programmers and writers but to athletes, gamers, and craftspeople) from egocentric paranoia is problematic, because it risks supporting the former tendency instead of the latter.
This is not to say that writing can't be difficult, but writing is also something that almost definitely does not pay enough to justify doing it despite genuinely hating it! I think if you describe writing as your "passion", then you're coming to it from the right perspective -- plus, you're a skilled enough writer that it's clear you put the work in long before it became profitable. As they say in the Dwarf Fortress community, "failing is fun".
Folks who hate writing but love "being a Writer" -- the crowd who post bookstagram shots of their color-coded shelves -- are not setting themselves up for a fun time on the other hand. You've gotta have a little bit of masochism to survive in any 'creative' job, but if you're spending all day doing something you genuinely hate, only extrinsic rewards like money and the warm embrace of your fans are keeping you afloat. Extrinsic rewards are mercurial.
Of course, I've got a pretty casual perspective on writing. I do some freelance when it interests me, but most of my writing is done for communication first with profit a very minor concern. But my day job is my other passion. The nature of day jobs is that you're required to do a lot of stuff that's boring, stupid, and offensive to your sensibilities. If coding was not a passion, I would have burnt out far harder far sooner.