Diet plays a part too. People who exercise eat better. This one factor study is flawed.
Diets can affect people in other ways. Martin Luther broke with the Catholic Church when the Holy Roman Emperor put him on a diet of worms.