After killing myself at a FAANG because it was what was expected (to my mental health detriment), I have exactly this attitude since. At the end of the day, I'm done. I'm gone. I don't care. Even while I'm there, I'm only doing the amount outlined in the job and nothing extra. When I have a task to complete, I do my best to do it well. But I also don't care and don't sweat making sure it's perfect.
This has worked out great. I think I do a good enough job to be viewed as pretty good at what I do. That's good enough for me. I don't want advancement. I don't want more responsibility. Just give me a cost-of-living bump every year and we're good.