Only Text Quote

Whenever people say they didn't like the main character of a book, they mean they didn't like the book. The main character has to be a friend? I don't get that.