We do not know, in most cases, how far social failure and success are due to heredity, and how far to environment. But environment is the easier of the two to improve.
Grunts on the line, where the enemy wants them dead, still goof off - even knowing that by letting their guard down they might die.