Certainly the problem couldn’t be the long work hours? No, it’s your emotional immaturity that’s causing you to not focus for long hours. This culture in tech is exactly why mental health issues in the industry are so prevalent. Put the blame on the individual for their reasonable emotional responses to ongoing stress.