There's been a lot of discussion of what many see as a problematic aspect of Avatar, but I've seen surprisingly little comment about how it follows another well-known SF film and indeed book in this particular respect.
( cut for spoilers )
( cut for spoilers )