One variable I find to have an extremely obvious influence is social status. The textbook even mentions that middle class families more often have infants that are secure. I'm sure growing up in a generally better environment is psychologically beneficial for an infant. In effect, it's not the secure attachment that leads to a better future, but rather simply the fact that your parents were well off leads to you having greater chances at doing well in life.