If you believe your work align with your personal morals and gives you a sense of purpose (government or private) you won’t do this. I always leave work thinking damn I could do so much more if I had X.
I think most people set out to be something great like a doctor or lawyer then due to life end up working at A bank or insurance company no motivation to achieve more just collect pay and go home. Thus the quiet quitting