Doing excellent work doesn't automatically mean you earn the company any money. It's one of the harsh realities of capitalism that you can do an absolutely shitty job and still earn your company a ton of money (and have job security) and vice versa: Working your ass off without adding anything in terms of revenue - not even by proxy.