It's a reasonable stance until the point where most of society is ran by for-profit companies. Then that mindset actively makes the world worse.
Your bosses might not actually care about the work you do, but your users and customers sure will.
Your bosses might not actually care about the work you do, but your users and customers sure will.
Also, when you do a good job, ex-coworkers will often reach out to you to give you better opportunities.