If you have a parental figure with a rather large income, the other thus has more time to spend with the child, and thus can give it more attention. More attention can cause a secure attachment. However, a parent with a large income somewhat guarantees the child's future. Hence, something like this could conceivably cause a child to have a secure attachment as well as a "good outcome."