I started a new job some months back, and my boss straight up told us in a team meeting “we’re not paying you to give 100% all the time, that’s not possible. We’re paying you for your average effort. Everyone has good days and bad, so don’t worry about it. Just do the job as good as you can on any given day and if we were right in hiring you, that will be enough.” Kind of blew my mind and confirmed I’d done the right thing signing with that company.
That’s the way. I’ve been programming for nigh on four decades, and it’s almost a daily occurrence with junior devs going to stack overflow or chatGPT to solve an issue instead of just searching the code where nine times out of ten the problem (or a very similar one) is already solved.