why do authors write these books?

The books in question are the ones that continuously make you enraged and/or depressed. And I'm not talking about fiction that has some sad parts that further the story, characters dying, breakups, etc. I'm talking about books where the main character has no redeeming qualities – a character who messed up their whole family and throughout the rest of the book continues to act like the victim. I…