When we try to write what we think others will like two things happen. Usually, this happens when we read criticism or we look at the stats.
One you’ll never know and therefore your writing suffers, and you keep trying to guess, to please.
Two, you are not being your true self. So what is the point if you don’t write what is your essence?
Write for yourself, even if no one else likes it, it’s your voice.