Person 1 only writes. Never publishes.

Person 2 writes and publishes.

Whose writing will get better in the long run?

Writing and publishing are 2 different things. When you publish, you help someone in your audience.

When you publish, you get feedback, which makes your writing better.

It’s almost always better to be Person 2 than Person 1.