The desire to be liked is acceptable in real life but very problematic in fiction. Pleasantness is the enemy of good fiction. I try to write on the premise that no one is going to read my work. Because there's this terrible impulse to grovel before the reader, to make them like you, to write with the reader in mind in that way. It prevents you doing work that is ugly or upsetting or difficult. The temptation is to not be true to what you want to write and to be considerate or amusing instead. I'm always trying to fight against the impulse to make my readers like me.