As with most other aspects of writing, I have a tendency to get this wrong, at least at first. I’ll assign goals to my characters that don’t actually hold up over the course of a story. I’m brilliant at trying to force my protagonists to want what I think they should want, rather than what they actually do want. Often, my characters are more selfish than I think they ought to be, and I have to stop being so judgmental.