I created this "Maslow's hierarchy of jobs" about 20 years go. Iv'e found to be good guide for when was time to move on (or stay). If you're failing at one or more of the lower 5 levels (pay not likely to continue, getting paid but nobody cares what you do) might be time to find a more productive gig.
You probably won't see this from HR in goals setting and performance management sessions.