Some factors that might affect both childhood attachment and well-being in adulthood are race, familial values and wealth.
If the parents of a child are both of a race that is descriminated against, then they could face difficulties in their working environment. Instead of fighting at an occupational level, the parents could displace their frustration to their family and negatively affect their child's development of attachment as well as distort their view of society and discourage them from being successful later in life.
Similarly, families that consider one gender to be the "working" gender that is dominant in social, political and professional environments could be actively oppressing the other gender with these values. In doing so, a secure attachment could form between the child and parent of the submissive gender, but the child's outlook in life could be severely weakened. This weakened outlook could have negative effects on the well-being of that person later in life.
Wealth can allow for the parents to spend more time with the child or require the parents to constantly work to maintain a wealthly lifestyle. In the former case, this increased interaction could cause the child to develop a secure attachment to his/her parents. In the latter case, the child could be left alone with his/her toys supplied by the wealth of the parents. So the child does not develop values his/her parents and acts aggressively or avoidant toward them. However, this problem with attachment might not have an effect on their well-being later in life because of their affluence.