This hasn't been my approach, nor has it been for many people I've worked with – or perhaps we're tripping over language?
Let's say that someone is super motivated by a high salary. They would be helping their manager (and, in most situations, themselves) if they were open about that. Up to and including conversations like "I hear that Company X is paying 20% more for a comparable role – here's some data to show I'm underpaid".
It's those kinds of conversations which would mean that your manager won't be surprised if in 6 months you leave for a better-paying role. Or, perhaps you get a nice pay rise. Or, if you can't have such conversations, see the red "you should leave anyway" box in the post!