Everyone 40 and older is more likely to die, regardless of how happy they are.
This is a little myopic, GP is clearly trying to posit that "there are less unhappy people above 40 because they are more death-prone than their happy peers".
I've seen some science headlines that sound like that's the case, but I haven't read the papers so take it with a dumptruck full of salt.