The only jobs I'd stay in for 28 years are ones that are genuinely engaging and remain enjoyable for a significant amount of time. That doesn't make me a job hopper. I've had several that have been ongoing for years.
I value being happy over money. If I could make millions but hated the job, I'd maybe stick to it for a while for the money and quit when I had enough to not need the job. Probably save up enough to do my own thing fot a while.
Unless you really, really like cleaning other people's messes, staying a janitor for 3 decades is pretty depressing.