I've seen it a few times, people with 30+ years of experience being paid massively more than newcomers, and just waiting for retirement. There's absolutely no point to do more than the bare minimum not to be fired in this situation (and if it's a government job, then it's pretty much impossible depending on the place), and it absolutely shows.