Male character who just did something stupid for a pretty girl: “I bet girls never make that mistake. Women never do anything stupid for handsome men.”
The joke here is that of course they do. Nigh everyone has. The male character is thinking something wrong.
But I wrote the joke! I know it’s wrong, because I wrote it!
Book discussions often treat authors as, by definition, the sum of their character’s perceptions and opinions. But it’s probably more often the author is the counter-party to their character’s opinions. Especially if the opinion is about to induce some plot.