This is a very blurry line. People in the industry always will be the first to tell you you owe companies no loyalty and to always look out for yourself first and foremost. But then when someone says they slack off on code reviews while they're interviewing suddenly they should be taking pride in their craft. As a matter of course I want to do a good job each and every day. But it's still a job and if I'm unhappy to the point I'm actively searching for another job do I still owe that company my best? I think multiple different people will have multiple different answers for that.