When you write, good or “badly,” you get insight into your process, what works, what doesn’t. What do readers like, what they don’t. That Insight translates to effectiveness. Keep doing that and Effectiveness leads to success. Success then builds confidence. And confidence inspires enthusiasm.
All else fades away and you find yourself banging out words for all the right reasons. You’re having fun because you’re effective and successful and there’s a tribe waiting for the stories they’ve come to love, that you write.
As a 'bad writer' I love to hear this sort of encouragement. We all have a story to tell, some are harder than others to get out!