A wise man once told me "no matter how good of a job you do at a company, two weeks after you're gone, you'll be forgotten. Business will go on, the company will survive."
I've kept that in the back of my mind ever since. I give my company 100% during work hours.